Skip to content

Commit

Permalink
build(upx): Bump upx to 4.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
orangedeng committed Nov 14, 2023
1 parent 5127c06 commit 4d629e2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ RUN if [ "$(go env GOARCH)" = "amd64" ]; then \
ginkgo version; \
fi
## install upx
RUN if [ "$(go env GOARCH)" = "amd64" ]; then \
export HTTPS_PROXY=${PROXY}; \
curl -sSL https://github.com/upx/upx/releases/download/v3.96/upx-3.96-amd64_linux.tar.xz | tar -xvJf - -C /tmp/; \
mv /tmp/upx-3.96-amd64_linux/upx /usr/bin/ && rm -rf /tmp/upx-3.96-amd64_linux; \
fi
ENV UPX_VERSION 4.2.1
RUN export HTTPS_PROXY=${PROXY}; \
curl -sL https://github.com/upx/upx/releases/download/v${UPX_VERSION}/upx-${UPX_VERSION}-${ARCH}_linux.tar.xz | tar xvJf - --strip-components=1 -C /tmp && \
mv /tmp/upx /usr/bin/
# -- for make rules

# -- for dapper
Expand Down

0 comments on commit 4d629e2

Please sign in to comment.