This commit is contained in:
Justin Bertram 2022-05-23 14:32:29 -05:00
commit 6952fe0ab6
No known key found for this signature in database
GPG Key ID: F41830B875BB8633
3 changed files with 13 additions and 13 deletions

View File

@ -17,7 +17,7 @@
# ActiveMQ Artemis # ActiveMQ Artemis
FROM adoptopenjdk:11-jre-hotspot FROM eclipse-temurin:11
LABEL maintainer="Apache ActiveMQ Team" LABEL maintainer="Apache ActiveMQ Team"
# Make sure pipes are considered to determine success, see: https://github.com/hadolint/hadolint/wiki/DL4006 # Make sure pipes are considered to determine success, see: https://github.com/hadolint/hadolint/wiki/DL4006
SHELL ["/bin/bash", "-o", "pipefail", "-c"] SHELL ["/bin/bash", "-o", "pipefail", "-c"]

View File

@ -62,12 +62,12 @@ Building the Docker Image:
$ docker build -f ./docker/Dockerfile-centos -t artemis-centos . $ docker build -f ./docker/Dockerfile-centos -t artemis-centos .
# For AdoptOpen JDK 11 # For AdoptOpen JDK 11
$ docker build -f ./docker/Dockerfile-adoptopenjdk-11 -t artemis-adoptopenjdk-11 . $ docker build -f ./docker/Dockerfile-eclipse-temurin-11 -t artemis-eclipse-temurin-11 .
# For AdoptOpen JDK 11 (Build for linux ARMv7/ARM64) # For AdoptOpen JDK 11 (Build for linux ARMv7/ARM64)
$ docker buildx build --platform linux/arm64,linux/arm/v7 --push -t {your-repository}/apache-artemis:2.17.0-SNAPSHOT -f ./docker/Dockerfile-adoptopenjdk-11 . $ docker buildx build --platform linux/arm64,linux/arm/v7 --push -t {your-repository}/apache-artemis:2.17.0-SNAPSHOT -f ./docker/Dockerfile-eclipse-temurin-11 .
Note: -t artemis-debian, -t artemis-centos and artemis-adoptopenjdk-11 are just Note: -t artemis-debian, -t artemis-centos and artemis-eclipse-temurin-11 are just
tag names for the purpose of this guide tag names for the purpose of this guide
For more info read the readme.md For more info read the readme.md

View File

@ -25,7 +25,7 @@ Using Artemis dist: ../artemis-distribution/target/apache-artemis-2.17.0-SNAPSHO
Clean up the ../artemis-distribution/target/apache-artemis-2.17.0-SNAPSHOT-bin/apache-artemis-2.17.0-SNAPSHOT/docker directory Clean up the ../artemis-distribution/target/apache-artemis-2.17.0-SNAPSHOT-bin/apache-artemis-2.17.0-SNAPSHOT/docker directory
Docker file support files at : ../artemis-distribution/target/apache-artemis-2.17.0-SNAPSHOT-bin/apache-artemis-2.17.0-SNAPSHOT/docker Docker file support files at : ../artemis-distribution/target/apache-artemis-2.17.0-SNAPSHOT-bin/apache-artemis-2.17.0-SNAPSHOT/docker
../artemis-distribution/target/apache-artemis-2.17.0-SNAPSHOT-bin/apache-artemis-2.17.0-SNAPSHOT/docker ../artemis-distribution/target/apache-artemis-2.17.0-SNAPSHOT-bin/apache-artemis-2.17.0-SNAPSHOT/docker
├── Dockerfile-adoptopenjdk-11 ├── Dockerfile-eclipse-temurin-11
├── Dockerfile-centos ├── Dockerfile-centos
├── Dockerfile-debian ├── Dockerfile-debian
└── docker-run.sh └── docker-run.sh
@ -46,9 +46,9 @@ Building the Docker Image:
$ docker build -f ./docker/Dockerfile-centos -t artemis-centos . $ docker build -f ./docker/Dockerfile-centos -t artemis-centos .
# For AdoptOpen JDK 11 # For AdoptOpen JDK 11
$ docker build -f ./docker/Dockerfile-adoptopenjdk-11 -t artemis-adoptopenjdk-11 . $ docker build -f ./docker/Dockerfile-eclipse-temurin-11 -t artemis-eclipse-temurin-11 .
Note: -t artemis-debian, -t artemis-centos and artemis-adoptopenjdk-11 are just Note: -t artemis-debian, -t artemis-centos and artemis-eclipse-temurin-11 are just
tag names for the purpose of this guide tag names for the purpose of this guide
For more info read the readme.md For more info read the readme.md
@ -75,7 +75,7 @@ Removing _TMP_/artemis/2.16.0/apache-artemis-2.16.0-bin.tar.gz...
Using Artemis dist: _TMP_/artemis/2.16.0 Using Artemis dist: _TMP_/artemis/2.16.0
Docker file support files at : _TMP_/artemis/2.16.0/docker Docker file support files at : _TMP_/artemis/2.16.0/docker
_TMP_/artemis/2.16.0/docker _TMP_/artemis/2.16.0/docker
├── Dockerfile-adoptopenjdk-11 ├── Dockerfile-eclipse-temurin-11
├── Dockerfile-centos ├── Dockerfile-centos
├── Dockerfile-debian ├── Dockerfile-debian
└── docker-run.sh └── docker-run.sh
@ -96,9 +96,9 @@ Building the Docker Image:
$ docker build -f ./docker/Dockerfile-centos -t artemis-centos . $ docker build -f ./docker/Dockerfile-centos -t artemis-centos .
# For AdoptOpen JDK 11 # For AdoptOpen JDK 11
$ docker build -f ./docker/Dockerfile-adoptopenjdk-11 -t artemis-adoptopenjdk-11 . $ docker build -f ./docker/Dockerfile-eclipse-temurin-11 -t artemis-eclipse-temurin-11 .
Note: -t artemis-debian, -t artemis-centos and artemis-adoptopenjdk-11 are just Note: -t artemis-debian, -t artemis-centos and artemis-eclipse-temurin-11 are just
tag names for the purpose of this guide tag names for the purpose of this guide
For more info read the readme.md For more info read the readme.md
@ -125,16 +125,16 @@ $ docker build -f ./docker/Dockerfile-centos -t artemis-centos .
## For AdoptOpen JDK 11 ## For AdoptOpen JDK 11
From within the `$ARTEMIS_DIST` folder: From within the `$ARTEMIS_DIST` folder:
``` ```
$ docker build -f ./docker/Dockerfile-adoptopenjdk-11 -t artemis-adoptopenjdk-11 . $ docker build -f ./docker/Dockerfile-eclipse-temurin-11 -t artemis-eclipse-temurin-11 .
``` ```
# For AdoptOpen JDK 11 (Build for linux ARMv7/ARM64) # For AdoptOpen JDK 11 (Build for linux ARMv7/ARM64)
``` ```
$ docker buildx build --platform linux/arm64,linux/arm/v7 --push -t {your-repository}/apache-artemis:2.17.0-SNAPSHOT -f ./docker/Dockerfile-adoptopenjdk-11 . $ docker buildx build --platform linux/arm64,linux/arm/v7 --push -t {your-repository}/apache-artemis:2.17.0-SNAPSHOT -f ./docker/Dockerfile-eclipse-temurin-11 .
``` ```
**Note:** **Note:**
`-t artemis-debian`,`-t artemis-centos`,`artemis-adoptopenjdk-11` are just tag `-t artemis-debian`,`-t artemis-centos`,`artemis-eclipse-temurin-11` are just tag
names for the purpose of this guide names for the purpose of this guide