Skip to content

Commit b89f473

Browse files
committed
Update to Alpine 3.22, drop glibc
1 parent ee8f698 commit b89f473

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

Dockerfile

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,13 @@
1-
FROM alpine:3.21 AS buildbase
1+
FROM alpine:3.22 AS buildbase
22

33
RUN apk add --update --no-cache clang llvm lld cmake make pkgconf
44
RUN apk add --update --no-cache build-base flex bison cargo
55

66
LABEL org.opencontainers.image.source https://github.com/XboxDev/nxdk-buildbase
77

88

9-
FROM alpine:3.21 AS runbase
9+
FROM alpine:3.22 AS runbase
1010

1111
RUN apk add --update --no-cache clang llvm lld cmake make pkgconf
1212

13-
# Download and install glibc
14-
RUN GLIBC_VERSION="2.35-r1" && \
15-
apk add --update --no-cache curl && \
16-
curl -Lo /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub && \
17-
curl -Lo glibc.apk "https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk" && \
18-
apk add --force-overwrite glibc.apk && \
19-
apk del curl && \
20-
rm -rf glibc.apk && \
21-
mkdir -p /lib64 && \
22-
ln -s /usr/glibc-compat/lib/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2
23-
2413
LABEL org.opencontainers.image.source https://github.com/XboxDev/nxdk-buildbase

0 commit comments

Comments
 (0)