Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
danbao authored Jan 9, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 3f4adda commit b707ab5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion jdk8/Dockerfile
Original file line number Diff line number Diff line change
@@ -18,8 +18,13 @@ COPY --from=builder /workspace/app/FontTest.class .

RUN java FontTest && rm -f FontTest.class

# Install vanilla GLibC: https://github.com/sgerrand/alpine-pkg-glibc
RUN curl -o /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub \
&& curl -LO https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r1/glibc-2.35-r1.apk \
&& apk add glibc-2.35-r1.apk

#==============
# Show version
#==============
RUN java -version \
&& javac -version
&& javac -version

0 comments on commit b707ab5

Please sign in to comment.