99# When updating, update the README and the alpine_version ARG
1010# * Use current version from https://alpinelinux.org/downloads/
1111# * ARGs repeat because Dockerfile ARGs are layer specific but will reuse the value defined here.
12- ARG alpine_version=3.20.3
12+ ARG alpine_version=3.21.0
1313
1414# We copy files from the context into a scratch container first to avoid a problem where docker and
1515# docker-compose don't share layer hashes https://github.com/docker/compose/issues/883 normally.
@@ -20,7 +20,7 @@ COPY . /code/
2020
2121# See from a previously published version to avoid pulling from Docker Hub (docker.io)
2222# This version is only used to install the real version
23- FROM ghcr.io/openzipkin/alpine:3.20.2 AS install
23+ FROM ghcr.io/openzipkin/alpine:3.20.3 AS install
2424
2525WORKDIR /code
2626# Conditions aren't supported in Dockerfile instructions, so we copy source even if it isn't used.
5656 # will throw UnknownHostException as the local hostname isn't in DNS.
5757 echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && \
5858 #
59- # Exclusively use edge repos to get recent packages, but avoid conflicts with 3.20
59+ # Exclusively use edge repos to get recent packages, but avoid conflicts with 3.21
6060 echo 'https://dl-cdn.alpinelinux.org/alpine/edge/main' > /etc/apk/repositories && \
6161 echo 'https://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories && \
6262 echo 'https://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories && \
6666 # * gcompat: BoringSSL for Netty per https://github.com/grpc/grpc-java/blob/master/SECURITY.md#netty
6767 apk add --no-cache java-cacerts ca-certificates gcompat && \
6868 # Typically, only amd64 is tested in CI: Run a command to ensure binaries match current arch.
69- ldd /lib/libz.so.1
69+ ldd /usr/ lib/libz.so.1
7070
7171ENTRYPOINT ["/bin/sh" ]
0 commit comments