Skip to content

Commit d2af6c0

Browse files
authored
Allow overriding docker image (#60)
1 parent bccd3a5 commit d2af6c0

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,4 @@ jobs:
7979
- uses: extractions/setup-just@v2
8080
- run: just test-integration
8181
env:
82-
PYTHON_VERSION: ${{ matrix.python-version }}
82+
PYTHON_IMAGE: python:${{ matrix.python-version }}-slim-bullseye

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
ARG PYTHON_VERSION
2-
FROM python:${PYTHON_VERSION}-slim-bullseye
1+
ARG PYTHON_IMAGE
2+
# hadolint ignore=DL3006
3+
FROM ${PYTHON_IMAGE}
34

45
# hadolint ignore=DL3013,DL3042
56
RUN pip install uv

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
build:
44
context: .
55
args:
6-
PYTHON_VERSION: ${PYTHON_VERSION:-3.12}
6+
PYTHON_IMAGE: ${PYTHON_IMAGE:-python:3.12-slim-bullseye}
77
depends_on:
88
artemis:
99
condition: service_started

0 commit comments

Comments
 (0)