]> git.puffer.fish Git - matthieu/frr.git/commitdiff
docker: Use Alpine 3.15 for build
authorDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 24 May 2022 15:10:00 +0000 (18:10 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 24 May 2022 15:10:00 +0000 (18:10 +0300)
This has librtr 0.8.0, while 3.13 has 0.7.0.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
docker/alpine/Dockerfile

index 79ae31567933623c1bebab573869044f52c9281c..fa4b9859b91a7ca743303674f307d777aa2732e7 100644 (file)
@@ -1,7 +1,7 @@
 # syntax=docker/dockerfile:1
 
 # Create a basic stage set up to build APKs
-FROM alpine:3.13 as alpine-builder
+FROM alpine:3.15 as alpine-builder
 RUN apk add \
                --update-cache \
                abuild \
@@ -22,7 +22,7 @@ RUN cd /libyang \
        && abuild -r -P /pkgs/apk
 
 # This stage builds a dist tarball from the source
-FROM alpine:3.13 as source-builder
+FROM alpine:3.15 as source-builder
 
 RUN mkdir -p /src/alpine
 COPY alpine/APKBUILD.in /src/alpine
@@ -33,6 +33,7 @@ RUN source /src/alpine/APKBUILD.in \
                $makedepends \
                gzip \
                py-pip \
+               rtrlib \
        && pip install pytest
 
 RUN mkdir -p /pkgs/apk
@@ -66,7 +67,7 @@ RUN cd /dist \
        && abuild -r -P /pkgs/apk
 
 # This stage installs frr from the apk
-FROM alpine:3.13
+FROM alpine:3.15
 RUN mkdir -p /pkgs/apk
 COPY --from=frr-apk-builder /pkgs/apk/ /pkgs/apk/
 RUN apk add \