mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 20:34:33 +00:00
docker: pin alpine base image to 3.13
'latest' isn't appropriate for us Signed-off-by: Quentin Young <qlyoung@nvidia.com>
This commit is contained in:
parent
daff938c7e
commit
9513086d4e
@ -1,5 +1,5 @@
|
|||||||
# This stage builds a dist tarball from the source
|
# 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
|
RUN mkdir -p /src/alpine
|
||||||
COPY alpine/APKBUILD.in /src/alpine
|
COPY alpine/APKBUILD.in /src/alpine
|
||||||
@ -21,7 +21,7 @@ RUN cd /src \
|
|||||||
&& make dist
|
&& make dist
|
||||||
|
|
||||||
# This stage builds an apk from the dist tarball
|
# 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
|
# Don't use nocache here so that abuild can use the cache
|
||||||
RUN apk add \
|
RUN apk add \
|
||||||
--update-cache \
|
--update-cache \
|
||||||
@ -44,7 +44,7 @@ RUN cd /dist \
|
|||||||
&& abuild -r -P /pkgs/apk
|
&& abuild -r -P /pkgs/apk
|
||||||
|
|
||||||
# This stage installs frr from the apk
|
# This stage installs frr from the apk
|
||||||
FROM alpine:latest
|
FROM alpine:3.13
|
||||||
RUN mkdir -p /pkgs/apk
|
RUN mkdir -p /pkgs/apk
|
||||||
COPY --from=alpine-builder /pkgs/apk/ /pkgs/apk/
|
COPY --from=alpine-builder /pkgs/apk/ /pkgs/apk/
|
||||||
RUN apk add \
|
RUN apk add \
|
||||||
|
Loading…
Reference in New Issue
Block a user