|
@ -11,8 +11,8 @@ COPY --from=apk /apk/ /apk/ |
|
|
RUN apk add git && /apk/setup |
|
|
RUN apk add git && /apk/setup |
|
|
RUN git clone https://github.com/dnomd343/upx.git |
|
|
RUN git clone https://github.com/dnomd343/upx.git |
|
|
WORKDIR ./upx/ |
|
|
WORKDIR ./upx/ |
|
|
RUN git submodule update --init && rm -rf ./.git/ && \ |
|
|
RUN git submodule update --init && rm -rf ./.git/ |
|
|
make UPX_CMAKE_CONFIG_FLAGS=-DCMAKE_EXE_LINKER_FLAGS=-static && \ |
|
|
RUN make UPX_CMAKE_CONFIG_FLAGS=-DCMAKE_EXE_LINKER_FLAGS=-static && \ |
|
|
mv ./build/release/upx /tmp/ && strip /tmp/upx |
|
|
mv ./build/release/upx /tmp/ && strip /tmp/upx |
|
|
|
|
|
|
|
|
FROM ${GOLANG} AS adguard |
|
|
FROM ${GOLANG} AS adguard |
|
|