Skip to content

Commit

Permalink
docker: Use Alpine Linux 3.18
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ton31337 committed Jul 20, 2023
1 parent 237e2c6 commit 1152259
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1

# 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 \
--update-cache \
abuild \
Expand All @@ -13,7 +13,7 @@ RUN apk add \
RUN adduser -D -G abuild builder && su builder -c 'abuild-keygen -a -n'

# 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
COPY alpine/APKBUILD.in /src/alpine
Expand Down Expand Up @@ -49,7 +49,7 @@ RUN cd /dist \
&& abuild -r -P /pkgs/apk

# This stage installs frr from the apk
FROM alpine:3.17
FROM alpine:3.18
RUN mkdir -p /pkgs/apk
COPY --from=alpine-apk-builder /pkgs/apk/ /pkgs/apk/
RUN apk add \
Expand Down

0 comments on commit 1152259

Please sign in to comment.