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