diff --git a/Dockerfile b/Dockerfile index 7a00c9e..124420a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.14.9 as build +FROM alpine:3.14.10 as build RUN apk --no-cache add \ curl \ @@ -7,16 +7,14 @@ RUN apk --no-cache add \ && chmod +x install \ && ./install --static -FROM alpine:3.14.9 +FROM alpine:3.14.10 ENV GLIBC_VER=2.31-r0 COPY --from=build /usr/local/bin/bb /usr/local/bin/bb # install glibc compatibility for alpine -RUN apk --no-cache add \ - binutils \ - curl \ +RUN apk --no-cache add binutils curl \ && curl -sL https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub -o /etc/apk/keys/sgerrand.rsa.pub \ && curl -sLO https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VER}/glibc-${GLIBC_VER}.apk \ && curl -sLO https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VER}/glibc-bin-${GLIBC_VER}.apk \