Skip to content

Commit

Permalink
Updated UPX to version 4.2.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlesage committed Jun 18, 2024
1 parent 4385842 commit 09b7f3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ FROM --platform=$BUILDPLATFORM tonistiigi/xx AS xx

# Build UPX.
FROM --platform=$BUILDPLATFORM alpine:3.20 AS upx
ARG UPX_VERSION=4.2.4
RUN apk --no-cache add build-base curl make cmake git && \
mkdir /tmp/upx && \
curl -# -L https://github.com/upx/upx/releases/download/v4.1.0/upx-4.1.0-src.tar.xz | tar xJ --strip 1 -C /tmp/upx && \
curl -# -L https://github.com/upx/upx/releases/download/v${UPX_VERSION}/upx-${UPX_VERSION}-src.tar.xz | tar xJ --strip 1 -C /tmp/upx && \
make -C /tmp/upx build/extra/gcc/release -j$(nproc) && \
cp -v /tmp/upx/build/extra/gcc/release/upx /usr/bin/upx

Expand Down

0 comments on commit 09b7f3f

Please sign in to comment.