Skip to content

Commit

Permalink
fix: github actions and Jenkinsfile build
Browse files Browse the repository at this point in the history
  • Loading branch information
ssthom committed Nov 13, 2024
1 parent 9bd8850 commit 6a78e9e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
fail-fast: false
matrix:
include:
- alias: jre-11
dockerfile: packaging/docker/unix/eclipse-temurin-11-jre/Dockerfile
- alias: jre-17
dockerfile: packaging/docker/unix/eclipse-temurin-17-jre/Dockerfile
tags: test
- alias: jre-11-alpine
dockerfile: packaging/docker/unix/eclipse-temurin-11-jre-alpine/Dockerfile
- alias: jre-17-alpine
dockerfile: packaging/docker/unix/eclipse-temurin-17-jre-alpine/Dockerfile
tags: test-alpine
name: "Build Docker image: ${{ matrix.alias }}"

Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ This will generate an assembly artifact through the `appassembler-maven-plugin`

This repository includes the base image which can be built simply as...

docker build -t jenkins4eval/jenkinsfile-runner -f packaging/docker/unix/eclipse-temurin-11-jre/Dockerfile .
docker build -t jenkins4eval/jenkinsfile-runner -f packaging/docker/unix/eclipse-temurin-17-jre/Dockerfile .

During development you can reuse the local machine build instead of doing a full build from scratch

docker build -t jenkins4eval/jenkinsfile-runner:dev -f packaging/docker/unix/eclipse-temurin-11-jre/Dockerfile-dev-vanilla .
docker build -t jenkins4eval/jenkinsfile-runner:dev -f packaging/docker/unix/eclipse-temurin-17-jre/Dockerfile-dev-vanilla .

== Debugging

Expand Down
2 changes: 1 addition & 1 deletion packaging-slim-parent-pom/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The parent POM prepares the following artifacts in `target`:
== Usage in Docker

See link:../packaging/docker/unix/eclipse-temurin-11-jre/Dockerfile-dev-slim[Dockerfile-dev-slim] for example.
See link:../packaging/docker/unix/eclipse-temurin-17-jre/Dockerfile-dev-slim[Dockerfile-dev-slim] for example.
This example also uses additional optimization tricks.

== Status
Expand Down
2 changes: 1 addition & 1 deletion packaging/docker/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The following format is used:
${JVM_VENDOR}-${JAVA_VERSION}[-${JVM_CLASSIFIER1}][-${JVM_CLASSIFIER2}]...[-${OS}]
----

Examples: `eclipse-temurin-11-jre`, `eclipse-temurin-11-jre-alpine`
Examples: `eclipse-temurin-17-jre`, `eclipse-temurin-17-jre-alpine`

* `JVM_VENDOR` - source of the JVM in lowercase, e.g. Eclipse Temurin.
* `JAVA_VERSION` - version of the JVM.
Expand Down

0 comments on commit 6a78e9e

Please sign in to comment.