Dockerfile: Make sure the upx repository is up-to-date
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
d4af5fecd9
commit
ccff82dba0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue