Skip to content

Commit

Permalink
GH-11: Switch latest tag from jdk-8 to jdk-16
Browse files Browse the repository at this point in the history
  • Loading branch information
markhobson committed Apr 25, 2021
1 parent 5cc521b commit 0c98282
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ Available on [Docker Hub](https://hub.docker.com/r/markhobson/maven-chrome/).

The following Docker tags are available:

* `jdk-8`, `latest` [(jdk-8/Dockerfile)](jdk-8/Dockerfile)
* `jdk-8` [(jdk-8/Dockerfile)](jdk-8/Dockerfile)
* `jdk-11` [(jdk-11/Dockerfile)](jdk-11/Dockerfile)
* `jdk-16` [(jdk-16/Dockerfile)](jdk-16/Dockerfile)
* `jdk-16`, `latest` [(jdk-16/Dockerfile)](jdk-16/Dockerfile)

**Note: Please use `jdk-8` instead of `latest`, as `latest` will be switched to `jdk-16` soon.** See issue [#11](https://github.com/markhobson/docker-maven-chrome/issues/11) for more information.
**Note: Until recently `latest` was `jdk-8`, please use `jdk-8` explicitly instead.** See issue [#11](https://github.com/markhobson/docker-maven-chrome/issues/11) for more information.

## Demo

Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

docker build --pull -t maven-chrome:jdk-8 -t maven-chrome jdk-8 \
docker build --pull -t maven-chrome:jdk-8 jdk-8 \
&& docker build --pull -t maven-chrome:jdk-11 jdk-11 \
&& docker build --pull -t maven-chrome:jdk-16 jdk-16
&& docker build --pull -t maven-chrome:jdk-16 -t maven-chrome jdk-16
2 changes: 1 addition & 1 deletion demo/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

DOCKER_IMAGE=markhobson/maven-chrome
DOCKER_IMAGE=markhobson/maven-chrome:jdk-8

docker pull $DOCKER_IMAGE
docker run --rm -it -v "$PWD":/usr/src -w /usr/src $DOCKER_IMAGE mvn clean verify

0 comments on commit 0c98282

Please sign in to comment.