Skip to content

Commit

Permalink
fix: docker container image build
Browse files Browse the repository at this point in the history
switched from git-all to just git (pinned)

Signed-off-by: jmeridth <[email protected]>
  • Loading branch information
jmeridth committed Sep 16, 2024
1 parent dbbb59c commit 32081b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#checkov:skip=CKV_DOCKER_2
#checkov:skip=CKV_DOCKER_3
FROM python:3.12.6-slim@sha256:3915ca5721d1ea28844b2db538a46bf48dd13bf3cf623a1e956049eac66f5351
FROM python:3.12.6-slim@sha256:15bad989b293be1dd5eb26a87ecacadaee1559f98e29f02bf6d00c8d86129f39
LABEL org.opencontainers.image.source https://github.com/github/evergreen

Check warning on line 4 in Dockerfile

View workflow job for this annotation

GitHub Actions / create_action_images

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "LABEL key=value" should be used instead of legacy "LABEL key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

WORKDIR /action/workspace
COPY requirements.txt *.py /action/workspace/

RUN python3 -m pip install --no-cache-dir -r requirements.txt \
&& apt-get -y update \
&& apt-get -y install --no-install-recommends git-all=1:2.39.2-1.1 \
&& apt-get -y install --no-install-recommends git=1:2.39.5-0+deb12u1 \
&& rm -rf /var/lib/apt/lists/*

CMD ["/action/workspace/evergreen.py"]
Expand Down

0 comments on commit 32081b1

Please sign in to comment.