From 82a1b6b36d4c4d97112698fc51dce8ac50457059 Mon Sep 17 00:00:00 2001 From: Docker Builder Date: Thu, 19 Jan 2023 00:52:37 +0000 Subject: [PATCH] docker: fix alpine base image to 3.14 Signed-off-by: Docker Builder --- docker/alpine/Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/alpine/Dockerfile b/docker/alpine/Dockerfile index ed6453e2b1..d0700d458a 100644 --- a/docker/alpine/Dockerfile +++ b/docker/alpine/Dockerfile @@ -1,10 +1,10 @@ # This stage builds a dist tarball from the source -FROM alpine:edge as source-builder +FROM alpine:3.14 as source-builder RUN mkdir -p /src/alpine COPY alpine/APKBUILD.in /src/alpine RUN source /src/alpine/APKBUILD.in \ - && echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories \ + && echo 'http://dl-cdn.alpinelinux.org/alpine/3.14/testing' >> /etc/apk/repositories \ && apk add \ --no-cache \ --update-cache \ @@ -22,9 +22,9 @@ RUN cd /src \ && make dist # This stage builds an apk from the dist tarball -FROM alpine:edge as alpine-builder +FROM alpine:3.14 as alpine-builder # Don't use nocache here so that abuild can use the cache -RUN echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories \ +RUN echo 'http://dl-cdn.alpinelinux.org/alpine/3.14/testing' >> /etc/apk/repositories \ && apk add \ --update-cache \ abuild \ @@ -46,10 +46,10 @@ RUN cd /dist \ && abuild -r -P /pkgs/apk # This stage installs frr from the apk -FROM alpine:edge +FROM alpine:3.14 RUN mkdir -p /pkgs/apk COPY --from=alpine-builder /pkgs/apk/ /pkgs/apk/ -RUN echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories \ +RUN echo 'http://dl-cdn.alpinelinux.org/alpine/3.14/testing' >> /etc/apk/repositories \ && apk add \ --no-cache \ --update-cache \ -- 2.39.5