Skip to content

Commit 37eadfe

Browse files
authored
Update xonsh-musl-binary.Dockerfile
1 parent 87a5ebe commit 37eadfe

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

xonsh-musl-binary.Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,12 @@ RUN find ./xonsh -type f -name "*.py" -print0 | xargs -0 sed -i 's/import sqlite
4646
#RUN find ./xonsh -type f -name "*.py" -print0 | xargs -0 sed -i 's/\@lazyobject/\#\@lazyobject/g'
4747

4848
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
49+
RUN nuitka --standalone --onefile --static-libpython=yes \
50+
--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+
5155
RUN ls -la *
5256

5357
CMD cp xonsh.bin /result/$XONSH_BIN

0 commit comments

Comments
 (0)