[ 
https://issues.apache.org/jira/browse/ARTEMIS-4554?focusedWorklogId=898729&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-898729
 ]

ASF GitHub Bot logged work on ARTEMIS-4554:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Jan/24 15:46
            Start Date: 09/Jan/24 15:46
    Worklog Time Spent: 10m 
      Work Description: gemmellr commented on code in PR #4731:
URL: https://github.com/apache/activemq-artemis/pull/4731#discussion_r1446252165


##########
artemis-docker/prepare-docker.sh:
##########
@@ -53,23 +53,23 @@ Well done! Now you can continue with building the Docker 
image:
   # Go to $ARTEMIS_DIST_DIR
   $ cd $ARTEMIS_DIST_DIR
 
-  # For CentOS with full JDK 11
-  $ docker build -f ./docker/Dockerfile-centos7-11 -t artemis-centos .
+  # For CentOS with full JDK 17
+  $ docker build -f ./docker/Dockerfile-centos7-17 -t artemis-centos .
 
-  # For Ubuntu with full JDK 11
-  $ docker build -f ./docker/Dockerfile-ubuntu-11 -t artemis-ubuntu .
+  # For Ubuntu with full JDK 21
+  $ docker build -f ./docker/Dockerfile-ubuntu-21 -t artemis-ubuntu .
 
-  # For Ubuntu with just JRE 11
-  $ docker build -f ./docker/Dockerfile-ubuntu-11-jre -t artemis-ubuntu-jre .
+  # For Ubuntu with just JRE 21
+  $ docker build -f ./docker/Dockerfile-ubuntu-21-jre -t artemis-ubuntu-jre .
 
-  # For Alpine with full JDK 17
-  $ docker build -f ./docker/Dockerfile-alpine-17 -t artemis-alpine .
+  # For Alpine with full JDK 21
+  $ docker build -f ./docker/Dockerfile-alpine-21 -t artemis-alpine .
 
-  # For Alpine with just JRE 11
-  $ docker build -f ./docker/Dockerfile-alpine-11-jre -t artemis-alpine-jre .
+  # For Alpine with just JRE 21
+  $ docker build -f ./docker/Dockerfile-alpine-21-jre -t artemis-alpine-jre .
 
   # For Ubuntu on Linux ARMv7/ARM64 with full JDK
-  $ docker buildx build --platform linux/arm64,linux/arm/v7 --push -t 
{your-repository}/apache-artemis:2.17.0-SNAPSHOT -f 
./docker/Dockerfile-ubuntu-11 .
+  $ docker buildx build --platform linux/arm64,linux/arm/v8 --push -t 
{your-repository}/apache-artemis:2.16.0 -f ./docker/Dockerfile-ubuntu-21 .

Review Comment:
   Didnt notice this one before...not sure it makes sense since ARM v8 
essentially is arm64, so its not clear thats command is something people should 
use (also be inconsistent with the comment above it still noting ARMv7). Could 
be worth just switching it to only linux/arm64 though at this point.
   
   Also, should the "2.16.0" not just be replaced with a version placeholder 
given its usually going to be incorrect (assuming they arent actually using 
2.16.0).





Issue Time Tracking
-------------------

    Worklog Id:     (was: 898729)
    Time Spent: 40m  (was: 0.5h)

> Upgrade to latest Java for Docker images 
> -----------------------------------------
>
>                 Key: ARTEMIS-4554
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4554
>             Project: ActiveMQ Artemis
>          Issue Type: Task
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to