Skip to content

Commit 94adda5

Browse files
Upgrade to Java 21 and fix curl dependency
- Update base image from openjdk:8-alpine to eclipse-temurin:21-jre-alpine - Install curl package to fix missing curl dependency in entrypoint script - Addresses security vulnerabilities in outdated Java 8 image 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent b4e316b commit 94adda5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openjdk:8-alpine@sha256:94792824df2df33402f201713f932b58cb9de94a0cd524164a0f2283343547b3
1+
FROM eclipse-temurin:21-jre-alpine
22
LABEL "maintainer"="step-security <[email protected]>"
33
LABEL "com.github.actions.name"="release-notes-generator-action"
44
LABEL "com.github.actions.description"="Create a release notes of milestone"
@@ -9,7 +9,8 @@ ENV RELEASE_NOTE_GENERATOR_VERSION="v0.0.8"
99
ENV RELEASE_NOTE_GENERATOR_CHECKSUM="4ac5387565b3b6d050a6ecc7bc7188e7cf62bf464596603b233ece457a66be60"
1010

1111
COPY *.sh /
12-
RUN chmod +x JSON.sh && \
12+
RUN apk add --no-cache curl && \
13+
chmod +x JSON.sh && \
1314
wget -O github-release-notes-generator.jar https://github.com/spring-io/github-changelog-generator/releases/download/${RELEASE_NOTE_GENERATOR_VERSION}/github-changelog-generator.jar && \
1415
echo "$RELEASE_NOTE_GENERATOR_CHECKSUM github-release-notes-generator.jar" | sha256sum -c -
1516

0 commit comments

Comments
 (0)