mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-17 00:10:03 -04:00
wip: fix: install upx
This commit is contained in:
parent
c62ad036da
commit
21fe202bd2
@ -93,7 +93,7 @@ RUN --mount=type=cache,id=ccache,target=/root/.ccache --mount=type=cache,id=pkgc
|
||||
|
||||
# Install UPX
|
||||
# UPX isn't supported on RISC-V/S390 (yet), so skip this
|
||||
RUN if ! [ "$ARCH" == "amd64" ] || [ "$ARCH" == "arm64v8" ]; then \
|
||||
RUN if [ "$ARCH" == "amd64" ] || [ "$ARCH" == "arm64v8" ]; then \
|
||||
wget -O - https://github.com/upx/upx/releases/download/v5.0.2/upx-5.0.2-$(bash -c "echo \${0//v8/}" $ARCH)_linux.tar.xz | tar -xJf - -C /usr/local/bin --strip-components=1 --wildcards "*/upx"; \
|
||||
else \
|
||||
echo "Skipping UPX installation for $ARCH architecture while it is not supported."; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user