We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87a5ebe commit 37eadfeCopy full SHA for 37eadfe
xonsh-musl-binary.Dockerfile
@@ -46,8 +46,12 @@ RUN find ./xonsh -type f -name "*.py" -print0 | xargs -0 sed -i 's/import sqlite
46
#RUN find ./xonsh -type f -name "*.py" -print0 | xargs -0 sed -i 's/\@lazyobject/\#\@lazyobject/g'
47
48
ENV LDFLAGS "-static -l:libpython3.10.a"
49
-RUN nuitka --onefile --standalone --python-flag=no_site --python-flag=no_warnings --follow-imports xonsh/xonsh
50
-# --show-progress
+RUN nuitka --standalone --onefile --static-libpython=yes \
+ --onefile-tempdir-spec='%TEMP%/onefile_%PID%_%TIME%' \
51
+ --show-progress --show-scons --show-modules \
52
+ --assume-yes-for-downloads --jobs=2 \
53
+ xonsh/xonsh
54
+
55
RUN ls -la *
56
57
CMD cp xonsh.bin /result/$XONSH_BIN
0 commit comments