From ba37977cdf2127b49876be3f660384bb9bcc2795 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Huynh Date: Mon, 26 Apr 2021 19:03:14 +0100 Subject: [PATCH] fix: Install git in final docker image (#1483) This is missing since the v3.16.0 release when refactoring the Dockerfile. Fixes: https://github.com/github/super-linter/issues/1482 Co-authored-by: Lukas Gravley --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c14e879c..b99f1d25 100644 --- a/Dockerfile +++ b/Dockerfile @@ -331,14 +331,15 @@ ENV BUILD_REVISION=$BUILD_REVISION ENV BUILD_VERSION=$BUILD_VERSION ENV ARM_TTK_PSD1="${ARM_TTK_DIRECTORY}/arm-ttk-master/arm-ttk/arm-ttk.psd1" -############################## -# Install Phive dependencies # -############################## +###################################### +# Install Phive dependencies and git # +###################################### RUN wget --tries=5 -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub \ && wget --tries=5 -q https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk \ && apk add --no-cache \ bash \ ca-certificates \ + git git-lfs \ glibc-${GLIBC_VERSION}.apk \ gnupg \ php7 php7-phar php7-json php7-mbstring php-xmlwriter \