From fe6f030a1b0d36815754b6fa07b448dab8ce00fb Mon Sep 17 00:00:00 2001 From: JonJagger Date: Fri, 17 Jan 2025 10:17:02 +0000 Subject: [PATCH] Upgrade git to fix new snyk vulnerability --- Dockerfile | 2 ++ bin/build_image.sh | 1 + 2 files changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1f056746..3f787692 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,8 @@ LABEL maintainer=jon@jaggersoft.com RUN gem install --no-document 'concurrent-ruby' +RUN apk add git=2.47.2-r0 # https://security.snyk.io/vuln/SNYK-ALPINE321-GIT-8625653 + WORKDIR /runner COPY source/server/ . diff --git a/bin/build_image.sh b/bin/build_image.sh index 183903bb..91478454 100755 --- a/bin/build_image.sh +++ b/bin/build_image.sh @@ -76,6 +76,7 @@ build_image() docker tag "${image_name}" "cyberdojo/runner:latest" echo "CYBER_DOJO_RUNNER_SHA=${CYBER_DOJO_RUNNER_SHA}" echo "CYBER_DOJO_RUNNER_TAG=${CYBER_DOJO_RUNNER_TAG}" + echo "${image_name}" fi }