From 4abd0408b7f3e072d3b04a8ee54042a0213b49ff Mon Sep 17 00:00:00 2001 From: Username404 Date: Sat, 29 Oct 2022 00:54:40 +0200 Subject: [PATCH] Dockerfile: Use the latest released version of upx instead of a static commit hash Signed-off-by: Username404 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c8fbde4..7201374 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ADD https://api.github.com/repos/upx/upx/git/refs/heads/$BRANCH version.json RUN git clone --quiet -n --branch $BRANCH https://github.com/upx/upx/ ARG CMAKE_BUILD_TYPE="Release" WORKDIR ./upx -RUN git checkout --quiet 65707900bc92153349db9c7c3389ef2ba4e9e877 +RUN git checkout --quiet `git tag | sort -V | tail -1` RUN git submodule --quiet update --init RUN mkdir -p ./build/release WORKDIR ./build/release