mirror of
https://github.com/rkd77/elinks.git
synced 2025-04-18 00:47:36 -04: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
|
||||||
# [*] install libraries
|
# [*] install libraries
|
||||||
RUN cd /root && apk add \
|
RUN apk add \
|
||||||
brotli-dev \
|
brotli-dev \
|
||||||
brotli-static \
|
brotli-static \
|
||||||
bzip2-dev \
|
bzip2-dev \
|
||||||
@ -43,7 +43,7 @@ RUN cd /root && apk add \
|
|||||||
xz-static
|
xz-static
|
||||||
|
|
||||||
# [*] libxml++5
|
# [*] libxml++5
|
||||||
RUN cd /root && apk add mm-common libtool xz
|
RUN apk add mm-common libtool upx xz
|
||||||
|
|
||||||
# libxml++5 cd
|
# libxml++5 cd
|
||||||
RUN mkdir /root/tmp; cd /root/tmp; \
|
RUN mkdir /root/tmp; cd /root/tmp; \
|
||||||
|
@ -54,3 +54,7 @@ meson /root/tmp/builddir \
|
|||||||
-Dzstd=true
|
-Dzstd=true
|
||||||
|
|
||||||
meson compile -C /root/tmp/builddir
|
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
|
-Dzstd=true
|
||||||
|
|
||||||
meson compile -j $(($(nproc) - 1)) -C /root/tmp/builddir_js
|
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…
x
Reference in New Issue
Block a user