Skip to content

Commit

Permalink
Merge pull request #210 from Pitel/patch-1
Browse files Browse the repository at this point in the history
Alpine 3.8
  • Loading branch information
tianon authored Jul 9, 2018
2 parents ca586ef + 1778c73 commit 2ac2312
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion 7/jdk/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM alpine:3.7
FROM alpine:3.8

# A few reasons for installing distribution-provided OpenJDK:
#
Expand Down
2 changes: 1 addition & 1 deletion 7/jre/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM alpine:3.7
FROM alpine:3.8

# A few reasons for installing distribution-provided OpenJDK:
#
Expand Down
2 changes: 1 addition & 1 deletion 8/jdk/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM alpine:3.7
FROM alpine:3.8

# A few reasons for installing distribution-provided OpenJDK:
#
Expand Down
2 changes: 1 addition & 1 deletion 8/jre/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM alpine:3.7
FROM alpine:3.8

# A few reasons for installing distribution-provided OpenJDK:
#
Expand Down
8 changes: 4 additions & 4 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ declare -A suites=(
[10]='sid'
[11]='sid'
)
defaultAlpineVersion='3.8'
declare -A alpineVersions=(
[7]='3.7'
[8]='3.7'
#[10]='TBD' # there is no openjdk10 in Alpine yet (https://pkgs.alpinelinux.org/packages?name=openjdk10*&arch=x86_64)
#[8]='3.7'
#[10]='TBD' # there is no openjdk10 in Alpine yet (https://pkgs.alpinelinux.org/packages?name=openjdk*-jre&arch=x86_64)
)

declare -A addSuites=(
Expand Down Expand Up @@ -310,7 +310,7 @@ EOD
template-contribute-footer >> "$dir/Dockerfile"

if [ -d "$dir/alpine" ]; then
alpineVersion="${alpineVersions[$javaVersion]}"
alpineVersion="${alpineVersions[$javaVersion]:-$defaultAlpineVersion}"
alpinePackage="openjdk$javaVersion"
alpineJavaHome="/usr/lib/jvm/java-1.${javaVersion}-openjdk"
alpinePathAdd="$alpineJavaHome/jre/bin:$alpineJavaHome/bin"
Expand Down

0 comments on commit 2ac2312

Please sign in to comment.