mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-15 07:16:13 -04:00
chore: install custom upx in docker that hopefully has less bugs
This commit is contained in:
parent
cc583dade5
commit
2ff1b8e821
@ -54,10 +54,12 @@ RUN apt install -y \
|
||||
libgoogle-glog-dev \
|
||||
libutfcpp-dev \
|
||||
libflac++-dev \
|
||||
bash-completion \
|
||||
upx
|
||||
bash-completion
|
||||
COPY install-static-libs.sh /usr/local/bin/install-static-libs.sh
|
||||
RUN bash /usr/local/bin/install-static-libs.sh
|
||||
ARG ARCH
|
||||
# upx-4.2.2 is broken for arm64 (https://github.com/upx/upx/issues/758)
|
||||
RUN wget -O - https://github.com/upx/upx/releases/download/v4.2.1/upx-4.2.1-$(bash -c "echo \${0//v8/}" $ARCH)_linux.tar.xz | tar -xJf - -C /usr/local/bin --strip-components=1 --wildcards "*/upx"
|
||||
# RUN useradd -g users -u 1000 -m mhx
|
||||
ARG SCRIPT=build-linux.sh
|
||||
COPY $SCRIPT /usr/local/bin/run.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user