Skip to content

Commit

Permalink
Merge pull request #13 from romeroalx/use-python-bullseye-image
Browse files Browse the repository at this point in the history
Use python:3.11-bullseye as base for debian 11 builds
  • Loading branch information
romeroalx authored Jun 10, 2024
2 parents 5a3695c + d6111a5 commit 57d0aec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-debian-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ jobs:
- rel/dnsdist-1.9.x
image:
- id: debian-11-pdns-base
debian-release: bullseye-slim
debian-image-name: python
debian-image-tag: 3.11-slim-bullseye
- id: debian-12-pdns-base
debian-release: bookworm-slim
debian-image-name: debian
debian-image-tag: bookworm-slim
fail-fast: false
runs-on: ubuntu-22.04
permissions:
Expand All @@ -36,7 +38,8 @@ jobs:
run: |
docker build . --file Dockerfile \
--tag ${{ env.image-id-lowercase }}:${{ env.image-tag }} \
--build-arg DEBIAN_IMAGE_TAG=${{ matrix.image.debian-release }} \
--build-arg DEBIAN_IMAGE_NAME=${{ matrix.image.debian-image-name }} \
--build-arg DEBIAN_IMAGE_TAG=${{ matrix.image.debian-image-tag }} \
--build-arg REPO_BRANCH=${{ matrix.branch-name }}
- name: Login to GitHub Container Registry
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ARG DEBIAN_IMAGE_NAME
ARG DEBIAN_IMAGE_TAG
FROM debian:${DEBIAN_IMAGE_TAG}
FROM ${DEBIAN_IMAGE_NAME}:${DEBIAN_IMAGE_TAG}

ARG REPO_HOME=/home/runner
ARG REPO_BRANCH=master
Expand Down

0 comments on commit 57d0aec

Please sign in to comment.