mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-02-06 00:54:47 +00:00
Trying to fix upx again. (#5387)
This commit is contained in:
parent
e31823171c
commit
596b4f19d5
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ RUN --mount=type=cache,target=/lemmy/target set -ex; \
|
||||||
# Compress the binary with upx
|
# Compress the binary with upx
|
||||||
wget https://github.com/upx/upx/releases/download/v4.2.4/upx-4.2.4-amd64_linux.tar.xz; \
|
wget https://github.com/upx/upx/releases/download/v4.2.4/upx-4.2.4-amd64_linux.tar.xz; \
|
||||||
tar -xvf upx-4.2.4-amd64_linux.tar.xz; \
|
tar -xvf upx-4.2.4-amd64_linux.tar.xz; \
|
||||||
upx-4.2.4-amd64_linux/upx --best --lzma lemmy_server; \
|
./upx-4.2.4-amd64_linux/upx --best --lzma lemmy_server; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ARM64 builder
|
# ARM64 builder
|
||||||
|
@ -80,7 +80,7 @@ RUN --mount=type=cache,target=./target,uid=10001,gid=10001 set -ex; \
|
||||||
# Compress the binary with upx
|
# Compress the binary with upx
|
||||||
wget https://github.com/upx/upx/releases/download/v4.2.4/upx-4.2.4-arm64_linux.tar.xz; \
|
wget https://github.com/upx/upx/releases/download/v4.2.4/upx-4.2.4-arm64_linux.tar.xz; \
|
||||||
tar -xvf upx-4.2.4-arm64_linux.tar.xz; \
|
tar -xvf upx-4.2.4-arm64_linux.tar.xz; \
|
||||||
upx-4.2.4-amd64_linux/upx --best --lzma lemmy_server; \
|
./upx-4.2.4-amd64_linux/upx --best --lzma lemmy_server; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# amd64 base runner
|
# amd64 base runner
|
||||||
|
|
Loading…
Reference in a new issue