Dockerfile: Make sure the upx repository is up-to-date

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
Username404 2022-10-06 15:52:28 +02:00
parent d4af5fecd9
commit ccff82dba0
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,9 @@ RUN apk add --no-cache gcc g++ musl-dev libc-dev cmake git samurai coreutils rpm
RUN mkdir -p /usr/src/yerbacon RUN mkdir -p /usr/src/yerbacon
WORKDIR /usr/src/ WORKDIR /usr/src/
RUN git clone --quiet -n --branch devel4 https://github.com/upx/upx/ ARG BRANCH="devel4"
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" ARG CMAKE_BUILD_TYPE="Release"
WORKDIR ./upx WORKDIR ./upx
RUN git checkout --quiet 70f14101ed79642e39340fde8514aa19a99f32dc RUN git checkout --quiet 70f14101ed79642e39340fde8514aa19a99f32dc