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

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

                Author: ASF GitHub Bot
            Created on: 07/Dec/22 20:33
            Start Date: 07/Dec/22 20:33
    Worklog Time Spent: 10m 
      Work Description: SamTV12345 commented on PR #4307:
URL: 
https://github.com/apache/activemq-artemis/pull/4307#issuecomment-1341558876

   > It's not clear to me how your changes are directly related to 
https://issues.apache.org/jira/browse/ARTEMIS-3042 aside from just the wording. 
Your commit is just adding a new Dockerfile which is similar to the three other 
Dockerfiles which are already present. These three Dockerfiles were also 
already present when ARTEMIS-3042 was opened originally. The Jira description 
even says, "The current docker image build is not really user friendly or 
convenient at all." Therefore, adding another version of what already exists 
doesn't seem to help resolve the issue. Can you shed any light on this?
   
   A docker multistage build contains one or multiple steps of building an 
image and one final image that is used during runtime. A multistage build has 
the advantage that some components are only needed during build time leading to 
a smaller footprint. It also has the charm that I don't need to know anything 
about building this image. Everything is handled during build process.
   
   Before my pr you had to follow the guides, run the script, cd into the 
_TMP/artemis/version folder and start the build process. This can be teadious 
and result in user errors: At first I forgot to change to that directory I had 
to read through the proprietary instructions to this project. 
   
   Now you can start directly with building. Just use the Dockerfile as you 
would with any other Dockerfile and execute ```docker build -t myartemis -f 
Dockerfile-alpine .``` You don't need to go through any instructions and have a 
standardized process of building images. 
   
   If you agree I would remove the other Dockerfiles as they are not needed 
anymore and may confuse the end user. 
   
    




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

    Worklog Id:     (was: 831876)
    Time Spent: 1h 20m  (was: 1h 10m)

> Official Docker Multistage Build as well as an official Docker image.
> ---------------------------------------------------------------------
>
>                 Key: ARTEMIS-3042
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3042
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: John Behm
>            Priority: Minor
>              Labels: docker,, dockerfile,, kubernetes
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> It would be rather convenient to get people up and running with an easy to 
> build or to setup Docker image that automatically builds the project from 
> source, discards the build container and moves the necessary files over to 
> the final container that can simply be started.
> The current docker image build is not really user firendly or convenient at 
> all.
>  
> https://github.com/apache/activemq-artemis/tree/master/artemis-docker
> The whole setup process of artemis in a containerized environment is  very 
> far from even good.
> The hurdle of using this software is gigantic, as the configuration is so 
> complex, one will not be able to do this within one month without having gone 
> through the whole documentation multiple times.



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

Reply via email to