Dockerfile: Use the latest released version of upx instead of a static commit hash

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
Username404 2022-10-29 00:54:40 +02:00
parent 022a0c6b62
commit 4abd0408b7
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -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