Skip to content

svassr/docker-with-java-demos

 
 

Repository files navigation

docker-with-java-demos

These are example projects that correlate with my blog post here.

docker-multi-stage-build-demo

To build the image:

$ cd docker-multi-stage-build-demo
$ docker build -t anna/docker-multi-stage-build-demo:1.0-SNAPSHOT .

docker-normal-build-demo

To build the image:

$ cd docker-normal-build-demo
$ docker build -t anna/docker-normal-build-demo:1.0-SNAPSHOT .

docker-package-only-build-demo

First, package the source code:

$ cd docker-package-only-build-demo
$ mvn clean package

Then, build the image:

$ docker build -t anna/docker-normal-build-demo:1.0-SNAPSHOT .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 68.7%
  • Dockerfile 31.3%