1
0
Fork 0

[docker] upx also in dos version

This commit is contained in:
Witold Filipczyk 2022-12-07 19:48:15 +01:00
parent 57c8a156a5
commit 3b1c5ce751
3 changed files with 8 additions and 3 deletions

View File

@ -9,7 +9,7 @@ FROM fedora:37
# prepare system
RUN dnf -y update && dnf -y install bash wget \
rsync vim screen git make automake meson unzip cmake patch
rsync vim screen git make automake meson unzip cmake patch upx
RUN cd /root; wget http://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-12.2.0/djcross-gcc-12.2.0-1ap.x86_64.rpm ; \
wget http://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-12.2.0/djcross-gcc-c++-12.2.0-1ap.x86_64.rpm ; \

View File

@ -59,5 +59,6 @@ meson /tmp/builddir --cross-file cross/linux-djgpp.txt \
meson compile -C /tmp/builddir
cd /tmp/builddir
ninja install
i586-pc-msdosdjgpp-strip /tmp/builddir/src/elinks.exe
upx /tmp/builddir/src/elinks.exe

View File

@ -59,3 +59,7 @@ meson /tmp/builddir2 --cross-file cross/linux-djgpp.txt \
-Dzstd=false \
meson compile -C /tmp/builddir2
i586-pc-msdosdjgpp-strip /tmp/builddir2/src/elinks.exe
upx /tmp/builddir2/src/elinks.exe