summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDocker Builder <docker@frrouting.org>2023-01-19 00:52:37 +0000
committerDocker Builder <docker@frrouting.org>2023-01-19 00:52:37 +0000
commit82a1b6b36d4c4d97112698fc51dce8ac50457059 (patch)
tree8d35ff1d066211ccfedc74e95531996093de071a
parentc1b45f7cb4202bd036b1ac45e746db15f0d5a5bd (diff)
docker: fix alpine base image to 3.14docker/7.5.0
Signed-off-by: Docker Builder <docker@frrouting.org>
-rw-r--r--docker/alpine/Dockerfile12
1 files 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 \