explicited gcc during prerequisite install, restored linux/arm/v7 and linux/arm64

This commit is contained in:
Ricard Bejarano 2021-01-25 17:41:09 +01:00
parent 4c93eff3f1
commit 004512a3f8
No known key found for this signature in database
GPG key ID: 835D397AC7BB6B0F
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ jobs:
run: |
IMAGE_BUILD_CONTEXT='.'
IMAGE_BUILD_DOCKERFILE='Dockerfile'
IMAGE_BUILD_PLATFORMS='linux/386,linux/amd64,linux/arm/v6,linux/ppc64le'
IMAGE_BUILD_PLATFORMS='linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le'
IMAGE_NAME="$(echo '${{ github.repository }}' | sed 's,.*/,,g' | tr '[A-Z]' '[a-z]')"
IMAGE_VERSION="$(echo '${{ github.ref }}' | sed -e 's,.*/\(.*\),\1,')"

View file

@ -21,7 +21,7 @@ RUN [ "$(sha256sum /tmp/openssl.tar.gz | awk '{print $1}')" = "$OPENSSL_CHECKSUM
[ "$(sha256sum /tmp/pcre.tar.gz | awk '{print $1}')" = "$PCRE_CHECKSUM" ] && \
[ "$(sha256sum /tmp/zlib.tar.gz | awk '{print $1}')" = "$ZLIB_CHECKSUM" ] && \
[ "$(sha256sum /tmp/nginx.tar.gz | awk '{print $1}')" = "$CHECKSUM" ] && \
apk add build-base ca-certificates linux-headers perl && \
apk add build-base ca-certificates gcc linux-headers perl && \
tar -C /tmp -xf /tmp/openssl.tar.gz && \
tar -C /tmp -xf /tmp/pcre.tar.gz && \
tar -C /tmp -xf /tmp/zlib.tar.gz && \