1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[docker] upx

This commit is contained in:
Witold Filipczyk 2022-12-07 19:26:18 +01:00
parent e1c099270f
commit 57c8a156a5
3 changed files with 10 additions and 2 deletions

View File

@ -13,7 +13,7 @@ RUN cd /etc/apk && echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >> re
# install
# [*] install libraries
RUN cd /root && apk add \
RUN apk add \
brotli-dev \
brotli-static \
bzip2-dev \
@ -43,7 +43,7 @@ RUN cd /root && apk add \
xz-static
# [*] libxml++5
RUN cd /root && apk add mm-common libtool xz
RUN apk add mm-common libtool upx xz
# libxml++5 cd
RUN mkdir /root/tmp; cd /root/tmp; \

View File

@ -54,3 +54,7 @@ meson /root/tmp/builddir \
-Dzstd=true
meson compile -C /root/tmp/builddir
strip /root/tmp/builddir/src/elinks
upx /root/tmp/builddir/src/elinks

View File

@ -54,3 +54,7 @@ meson /root/tmp/builddir_js \
-Dzstd=true
meson compile -j $(($(nproc) - 1)) -C /root/tmp/builddir_js
strip /root/tmp/builddir_js/src/elinks
upx /root/tmp/builddir_js/src/elinks