Skip to content

Commit

Permalink
update: Java version
Browse files Browse the repository at this point in the history
  • Loading branch information
sksat committed Dec 2, 2021
1 parent 7c74e9d commit 851f2b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions utils/java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

# Official OpenJDK images
OPENJDK=(
"openjdk:16-slim amd64 sha256:5e30ca58b3a57274d10066db652e53a452c446b1509514aa2f59dbe6979841f9"
"openjdk:17-slim amd64 sha256:5e30ca58b3a57274d10066db652e53a452c446b1509514aa2f59dbe6979841f9"
#"openjdk:16-slim arm64/v8 sha256:d7e6afd5155486baacd0895276cc74d534babc17153776730509df4550db450d"
"openjdk:16-slim-buster amd64 sha256:8c903c0f29cd406dcea7011037338a6070f1e08098f793fb49135848d4874c27"
"openjdk:17-slim-buster amd64 sha256:8c903c0f29cd406dcea7011037338a6070f1e08098f793fb49135848d4874c27"
#"openjdk:16-slim-buster arm64/v8 sha256:eb2c3e29cd8bead0443372f887d58ebf3ae163f674caeda4251cd5f37b93f4ec"
"openjdk:16-oraclelinux8 amd64 sha256:5cb18383b0d7f469501021258a451bef2c2bbeb838dadb81d71129c643cf3638"
"openjdk:17-oraclelinux8 amd64 sha256:5cb18383b0d7f469501021258a451bef2c2bbeb838dadb81d71129c643cf3638"
#"openjdk:16-oraclelinux8 arm64/v8 sha256:af04c50184d0227ece48c85e5535d622a9f4ed649d5f18e0f18f58c006b934c8"
)

# Eclipse temurin
TEMURIN=(
"eclipse-temurin:16.0.2_7-jdk amd64 sha256:23fddb8dfe8ab6d4c8f5b2cb8002cf441eb2fed8510df3972751180b31be2ab0"
"eclipse-temurin:16.0.2_7-jdk-focal amd64 sha256:27be5706c0c82df2ffbdacf1b2930536f89dfec9b6c50e22377ef7599b8e36a4"
"eclipse-temurin:17.0.1_12-jdk amd64 sha256:23fddb8dfe8ab6d4c8f5b2cb8002cf441eb2fed8510df3972751180b31be2ab0"
"eclipse-temurin:17.0.1_12-jdk-focal amd64 sha256:27be5706c0c82df2ffbdacf1b2930536f89dfec9b6c50e22377ef7599b8e36a4"
#"eclipse-temurin:16.0.2_7-jdk-focal arm64/v8"
)

Expand Down
4 changes: 2 additions & 2 deletions utils/set-tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ DEFAULT_BRANCH='main'
DEFAULT_JDK='openjdk'

if [[ "$JDK" == 'openjdk' ]]; then
DEFAULT_BASE_IMG='16-slim' # そうか?
DEFAULT_BASE_IMG='17-slim' # そうか?
elif [[ "$JDK" == 'temurin' ]]; then
DEFAULT_BASE_IMG='16.0.2_7-jdk'
DEFAULT_BASE_IMG='17.0.1_12-jdk'
fi

#JDK=openjdk
Expand Down

0 comments on commit 851f2b0

Please sign in to comment.