Skip to content
Snippets Groups Projects
Commit 49369d06 authored by Bartek Wrona's avatar Bartek Wrona
Browse files

build.sh script additionally immediately uses atomic package to enforce its...

build.sh script additionally immediately uses atomic package to enforce its final build on builder image. Then runtime image can be smaller due to eliminated compiler.
parent eb96666c
No related branches found
No related tags found
2 merge requests!585Docker support for HAF Hivemind deployment,!584Changes to be delivered to master as 1.27 release
...@@ -14,6 +14,10 @@ pip3 install pyyaml ...@@ -14,6 +14,10 @@ pip3 install pyyaml
# Do actual installation in the source directory # Do actual installation in the source directory
pushd "$SRCROOT" pushd "$SRCROOT"
pip3 install . pip3 install .
# immediately initialize atomic package to avoid spawning compiler at final image
python3 -c 'import atomic'
python3 -m build --wheel python3 -m build --wheel
popd popd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment