You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by GitBox <gi...@apache.org> on 2021/11/12 17:07:21 UTC

[GitHub] [sling-org-apache-sling-starter] rombert commented on pull request #31: SLING-9638 - Update Starter Docker image to be based on the feature model

rombert commented on pull request #31:
URL: https://github.com/apache/sling-org-apache-sling-starter/pull/31#issuecomment-967274466


   For the Docker Hub automated builds we can spit the build into two parts:
   
   - `mvn clean package`, executed in Docker using something like `docker run -it --rm --name 'sling-starter-build' -v "$(pwd)":/usr/src/mymaven -w /usr/src/mymaven maven:3.8-openjdk-11 mvn package`
   - `docker build -t apache/sling:some-tag  .`
   
   Looking at https://docs.docker.com/docker-hub/builds/advanced/ it should be possible to build the Docker-wrapped maven build in a pre-build hook and then let Docker Hub do its magic.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@sling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org