diff --git a/Dockerfile b/Dockerfile index 8c6e40f..7235e20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ FROM python:3.12-alpine +ARG FAWLTYDEPS_VERSION=v0.15.0 RUN mkdir -p /github/workspace RUN addgroup -S app && adduser -S -G app app @@ -10,7 +11,7 @@ ENV VIRTUAL_ENV=/home/app/venv RUN python -m venv $VIRTUAL_ENV RUN source $VIRTUAL_ENV/bin/activate \ && pip install --no-cache-dir --upgrade pip setuptools \ - && pip install --no-cache-dir fawltydeps==v0.15.0 + && pip install --no-cache-dir fawltydeps==$FAWLTYDEPS_VERSION ENV PATH="/home/app/venv/bin:$PATH" WORKDIR /github/workspace