Skip to content

Commit

Permalink
AdoptOpenJDK#71 - Update images used for full release build from 16.0…
Browse files Browse the repository at this point in the history
…4 to 18.04 for JDK 8/9/10/11
  • Loading branch information
Grzegorz Glab committed Nov 7, 2018
1 parent 50cb647 commit ca30c4f
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 13 deletions.
2 changes: 1 addition & 1 deletion 10/jdk/ubuntu/Dockerfile.hotspot.releases.full
Expand Up @@ -17,7 +17,7 @@
# limitations under the License.
#

FROM ubuntu:16.04
FROM ubuntu:18.04

MAINTAINER Dinakar Guniguntala <dinakar.g@in.ibm.com> (@dinogun)

Expand Down
2 changes: 1 addition & 1 deletion 10/jdk/ubuntu/Dockerfile.openj9.releases.full
Expand Up @@ -17,7 +17,7 @@
# limitations under the License.
#

FROM ubuntu:16.04
FROM ubuntu:18.04

MAINTAINER Dinakar Guniguntala <dinakar.g@in.ibm.com> (@dinogun)

Expand Down
2 changes: 1 addition & 1 deletion 11/jdk/ubuntu/Dockerfile.hotspot.releases.full
Expand Up @@ -17,7 +17,7 @@
# limitations under the License.
#

FROM ubuntu:16.04
FROM ubuntu:18.04

MAINTAINER Dinakar Guniguntala <dinakar.g@in.ibm.com> (@dinogun)

Expand Down
2 changes: 1 addition & 1 deletion 11/jdk/ubuntu/Dockerfile.openj9.releases.full
Expand Up @@ -17,7 +17,7 @@
# limitations under the License.
#

FROM ubuntu:16.04
FROM ubuntu:18.04

MAINTAINER Dinakar Guniguntala <dinakar.g@in.ibm.com> (@dinogun)

Expand Down
2 changes: 1 addition & 1 deletion 8/jdk/ubuntu/Dockerfile.hotspot.releases.full
Expand Up @@ -17,7 +17,7 @@
# limitations under the License.
#

FROM ubuntu:16.04
FROM ubuntu:18.04

MAINTAINER Dinakar Guniguntala <dinakar.g@in.ibm.com> (@dinogun)

Expand Down
2 changes: 1 addition & 1 deletion 8/jdk/ubuntu/Dockerfile.openj9.releases.full
Expand Up @@ -17,7 +17,7 @@
# limitations under the License.
#

FROM ubuntu:16.04
FROM ubuntu:18.04

MAINTAINER Dinakar Guniguntala <dinakar.g@in.ibm.com> (@dinogun)

Expand Down
2 changes: 1 addition & 1 deletion 9/jdk/ubuntu/Dockerfile.hotspot.releases.full
Expand Up @@ -17,7 +17,7 @@
# limitations under the License.
#

FROM ubuntu:16.04
FROM ubuntu:18.04

MAINTAINER Dinakar Guniguntala <dinakar.g@in.ibm.com> (@dinogun)

Expand Down
2 changes: 1 addition & 1 deletion 9/jdk/ubuntu/Dockerfile.openj9.releases.full
Expand Up @@ -17,7 +17,7 @@
# limitations under the License.
#

FROM ubuntu:16.04
FROM ubuntu:18.04

MAINTAINER Dinakar Guniguntala <dinakar.g@in.ibm.com> (@dinogun)

Expand Down
5 changes: 0 additions & 5 deletions dockerfile_functions.sh
Expand Up @@ -43,12 +43,7 @@ print_ubuntu_ver() {
local_build=$2
local_build_type=$3

# Use ubuntu:18.04 for the slim and nightly builds.
if [ "${local_build}" == "nightly" -o "${local_build_type}" == "slim" ]; then
os_version="18.04"
else
os_version="16.04"
fi

cat >> $1 <<-EOI
FROM ubuntu:${os_version}
Expand Down

0 comments on commit ca30c4f

Please sign in to comment.