mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[docker] upx
This commit is contained in:
parent
e1c099270f
commit
57c8a156a5
@ -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; \
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user