Skip to content

Commit

Permalink
install java21 in docker image and fix image name tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Dert1129 committed May 30, 2024
1 parent 7b4a5b9 commit e38544e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM alpine
FROM alpine:3.19.1

RUN apk update && \
apk upgrade
RUN apk add openjdk8
RUN apk add openjdk21

VOLUME /tmp
ARG DEPENDENCY=target/dependency
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def getCurrentGitBranch() {
}

docker {
name "kingstonduo/eridanus-spring" + getCurrentGitBranch()
name "kingstonduo/eridanus-spring:" + getCurrentGitBranch()
copySpec.from(tasks.unpack.outputs).into("dependency")
buildArgs(['DEPENDENCY': "dependency"])
}

0 comments on commit e38544e

Please sign in to comment.