summaryrefslogtreecommitdiff
path: root/docker/alpine/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/alpine/Dockerfile')
-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 \