Skip to content
Snippets Groups Projects
Commit f82c386a authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Fix binary Docker build

parent fe43bc07
No related branches found
No related tags found
1 merge request!1432Fix Docker binary build
......@@ -43,6 +43,11 @@ RUN find /usr/share/arkindex/*/management -name '*.py' -not -name '__init__.py'
# Remove arkindex & ponos unit tests
RUN find /usr/share/arkindex /usr/share/ponos -type d -name tests | xargs rm -rf
# This configuration is needed to avoid a compilation crash at linking stage
# It only seems to happen on recent gcc
# See https://github.com/Nuitka/Nuitka/issues/959
ENV NUITKA_RESOURCE_MODE=linker
# Compile all our python source code
# Do not use the -O or -OO python flags here as it removes assert statements (see backend#432)
RUN python -m nuitka \
......
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