-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Optimize docker layers - add classpath jar to artifacts - move start scripts to the same layer as artifacts, because those contain references to artifacts - move /jre (JLink) to a separate layer - move /conf to a separate layer as well, because it's not something changing often * additional comment regarding ClasspathJarPlugin usage added Co-authored-by: Nepomuk Seiler <muuki88@users.noreply.github.com>
- Loading branch information
Showing
7 changed files
with
42 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Generate the Docker image locally | ||
> docker:publishLocal | ||
$ exists target/docker/stage/Dockerfile | ||
$ exists target/docker/stage/1/opt/docker/bin/docker-exec | ||
$ exists target/docker/stage/4/opt/docker/bin/docker-exec | ||
> checkDockerfile | ||
$ exec bash -c 'docker run docker-package:0.1.0 | grep -q "Hello world"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Generate the Docker image locally | ||
> docker:publishLocal | ||
$ exists target/docker/stage/Dockerfile | ||
$ exists target/docker/stage/1/opt/docker/bin/docker-test | ||
$ exists target/docker/stage/4/opt/docker/bin/docker-test | ||
> checkDockerfile | ||
$ exec bash -c 'docker run docker-package:0.1.0 | grep -q "Hello world"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Generate the Docker image locally | ||
> docker:publishLocal | ||
$ exists target/docker/stage/Dockerfile | ||
$ exists target/docker/stage/1/opt/docker/bin/docker-test | ||
$ exists target/docker/stage/4/opt/docker/bin/docker-test | ||
> checkDockerfile | ||
$ exec bash -c 'docker run docker-package:0.1.0 | grep -q "Hello world"' |