mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 10:04:18 +00:00
docker: Use Alpine Linux 3.18
It has the newer libyang version 2.1.55, while 3.17 has 2.1.30. 3.19 will have 2.1.80. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
b775e359bc
commit
61cac0a627
@ -1,7 +1,7 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
# Create a basic stage set up to build APKs
|
# Create a basic stage set up to build APKs
|
||||||
FROM alpine:3.17 as alpine-builder
|
FROM alpine:3.18 as alpine-builder
|
||||||
RUN apk add \
|
RUN apk add \
|
||||||
--update-cache \
|
--update-cache \
|
||||||
abuild \
|
abuild \
|
||||||
@ -13,7 +13,7 @@ RUN apk add \
|
|||||||
RUN adduser -D -G abuild builder && su builder -c 'abuild-keygen -a -n'
|
RUN adduser -D -G abuild builder && su builder -c 'abuild-keygen -a -n'
|
||||||
|
|
||||||
# This stage builds a dist tarball from the source
|
# This stage builds a dist tarball from the source
|
||||||
FROM alpine:3.17 as source-builder
|
FROM alpine:3.18 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
|
||||||
@ -49,7 +49,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:3.17
|
FROM alpine:3.18
|
||||||
RUN mkdir -p /pkgs/apk
|
RUN mkdir -p /pkgs/apk
|
||||||
COPY --from=alpine-apk-builder /pkgs/apk/ /pkgs/apk/
|
COPY --from=alpine-apk-builder /pkgs/apk/ /pkgs/apk/
|
||||||
RUN apk add \
|
RUN apk add \
|
||||||
|
Loading…
Reference in New Issue
Block a user