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 <admiralawkbar@github.com>
This commit is contained in:
Jean-Pierre Huynh 2021-04-26 19:03:14 +01:00 committed by GitHub
parent db36076139
commit ba37977cdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -331,14 +331,15 @@ ENV BUILD_REVISION=$BUILD_REVISION
ENV BUILD_VERSION=$BUILD_VERSION ENV BUILD_VERSION=$BUILD_VERSION
ENV ARM_TTK_PSD1="${ARM_TTK_DIRECTORY}/arm-ttk-master/arm-ttk/arm-ttk.psd1" 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 \ 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 \ && wget --tries=5 -q https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk \
&& apk add --no-cache \ && apk add --no-cache \
bash \ bash \
ca-certificates \ ca-certificates \
git git-lfs \
glibc-${GLIBC_VERSION}.apk \ glibc-${GLIBC_VERSION}.apk \
gnupg \ gnupg \
php7 php7-phar php7-json php7-mbstring php-xmlwriter \ php7 php7-phar php7-json php7-mbstring php-xmlwriter \