Skip to content

Commit

Permalink
Externalize version
Browse files Browse the repository at this point in the history
  • Loading branch information
obscurerichard committed May 10, 2024
1 parent 7358826 commit 0babd75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0babd75

Please sign in to comment.