GitHub user chrisdutz added a comment to the discussion: [DISCUSS] Move towards 
more reproducible builds?

Ok ... so I've made a bit of progress on this :-)

So I've removed the maven build stuff from the Dockerfile. So now the 
Dockerfile just prepares the container for running the build. I've then created 
a docker-compose.yaml that runs the maven build based on that container. The 
main difference being, that I'm mounting the current directory in the container 
and having it locally store maven downloads in a directory ".repository" and 
deploy the build artifacts and deploy them to "./.local-snapshots-dir". 

When running the `docker compose` command, you get the built artifacts in your 
local "target" directories, and beyond that what is deployed in the 
"./.local-snapshots-dir" ... we then should be able to compare the content here 
with the content in the staging repo and hereby confirm that the artifacts are 
correctly built from the given sources.

GitHub link: 
https://github.com/apache/plc4x/discussions/991#discussioncomment-6498366

----
This is an automatically sent email for dev@plc4x.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@plc4x.apache.org

Reply via email to