From 9513086d4e3159ab2685bbe97f8b22bb930e3086 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Thu, 15 Apr 2021 18:12:57 -0400 Subject: [PATCH] docker: pin alpine base image to 3.13 'latest' isn't appropriate for us Signed-off-by: Quentin Young --- docker/alpine/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/alpine/Dockerfile b/docker/alpine/Dockerfile index 126710f8c2..56ac1c0d00 100644 --- a/docker/alpine/Dockerfile +++ b/docker/alpine/Dockerfile @@ -1,5 +1,5 @@ # This stage builds a dist tarball from the source -FROM alpine:latest as source-builder +FROM alpine:3.13 as source-builder RUN mkdir -p /src/alpine COPY alpine/APKBUILD.in /src/alpine @@ -21,7 +21,7 @@ RUN cd /src \ && make dist # This stage builds an apk from the dist tarball -FROM alpine:latest as alpine-builder +FROM alpine:3.13 as alpine-builder # Don't use nocache here so that abuild can use the cache RUN apk add \ --update-cache \ @@ -44,7 +44,7 @@ RUN cd /dist \ && abuild -r -P /pkgs/apk # This stage installs frr from the apk -FROM alpine:latest +FROM alpine:3.13 RUN mkdir -p /pkgs/apk COPY --from=alpine-builder /pkgs/apk/ /pkgs/apk/ RUN apk add \ -- 2.39.5