Skip to content

Commit c377cdd

Browse files
committed
Test
1 parent a9e7d36 commit c377cdd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

linux/jdk/alpine/src/main/packaging/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG CONTAINER_REGISTRY=""
22

3-
FROM ${CONTAINER_REGISTRY}alpine:3.19
3+
FROM ${CONTAINER_REGISTRY}alpine
44
ENV GOSU_VERSION 1.14
55

66
RUN set -eux; \
@@ -36,6 +36,10 @@ RUN --mount=type=secret,id=gpg,gid=1000,uid=1000,dst=/tmp/private.rsa \
3636
sudo cp /home/builder/.abuild/*.rsa.pub /etc/apk/keys/; \
3737
fi
3838

39+
# Install Adoptium Public Key
40+
RUN wget -O /etc/apk/keys/adoptium.rsa.pub https://packages.adoptium.net/artifactory/api/security/keypair/public/repositories/apk
41+
RUN echo 'https://packages.adoptium.net/artifactory/apk/alpine/main' >> /etc/apk/repositories
42+
3943
# Prepare entrypoint
4044
COPY --chown=builder:abuild entrypoint.sh /home/builder/entrypoint.sh
4145
RUN chmod +x /home/builder/entrypoint.sh

0 commit comments

Comments
 (0)