From 054e638f348222fbad72d403263e02be13fe5759 Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Mon, 3 Oct 2022 01:26:17 +0800 Subject: [PATCH] build: update upx compile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fde8a82..aa1a3ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,8 +11,8 @@ COPY --from=apk /apk/ /apk/ RUN apk add git && /apk/setup RUN git clone https://github.com/dnomd343/upx.git WORKDIR ./upx/ -RUN git submodule update --init && rm -rf ./.git/ && \ - make UPX_CMAKE_CONFIG_FLAGS=-DCMAKE_EXE_LINKER_FLAGS=-static && \ +RUN git submodule update --init && rm -rf ./.git/ +RUN make UPX_CMAKE_CONFIG_FLAGS=-DCMAKE_EXE_LINKER_FLAGS=-static && \ mv ./build/release/upx /tmp/ && strip /tmp/upx FROM ${GOLANG} AS adguard