pay respect to the Dockerfile linter, fix apk add

This commit is contained in:
Casey Vega 2020-07-06 22:23:06 -07:00 committed by GitHub
parent 2cdea4f076
commit abf0bdbf66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -194,7 +194,7 @@ RUN curl -sSLO https://github.com/pinterest/ktlint/releases/latest/download/ktli
ARG GLIBC_VERSION='2.31-r0' ARG GLIBC_VERSION='2.31-r0'
RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
RUN wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk RUN wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk
RUN apk --no-cache add glibc-${GLIBC_VERSION}.apk RUN apk add --no-cache glibc-${GLIBC_VERSION}.apk
# stable dart sdk: https://dart.dev/get-dart#release-channels # stable dart sdk: https://dart.dev/get-dart#release-channels
ARG DART_VERSION='2.8.4' ARG DART_VERSION='2.8.4'