Skip to content

Commit

Permalink
Add Docker container for ubuntu1804:java11
Browse files Browse the repository at this point in the history
Change-Id: I43bdf74a86b90dee4e4bcf9597a44862c5b6f3a8
  • Loading branch information
philwo committed Jan 14, 2019
1 parent 9f9c189 commit bc7ae6e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions buildkite/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -363,3 +363,11 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0x219BD9C9 && \
apt-get -qqy update && \
apt-get -qqy install zulu-10
USER bazel

FROM ubuntu1804-nojava AS ubuntu1804-java11
USER root
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0x219BD9C9 && \
apt-add-repository 'deb http://repos.azulsystems.com/ubuntu stable main' && \
apt-get -qqy update && \
apt-get -qqy install zulu-11
USER bazel
2 changes: 1 addition & 1 deletion buildkite/docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ docker push gcr.io/bazel-public/ubuntu1604:java8
docker build --target ubuntu1604-java8 -t gcr.io/bazel-untrusted/ubuntu1604:java8 .
docker push gcr.io/bazel-untrusted/ubuntu1604:java8

for java in java8 java9 java10 nojava; do
for java in java8 java9 java10 java11 nojava; do
docker build --target ubuntu1804-$java -t gcr.io/bazel-public/ubuntu1804:$java .
docker push gcr.io/bazel-public/ubuntu1804:$java

Expand Down

0 comments on commit bc7ae6e

Please sign in to comment.