Browse Source

build: upx for cleardns

dev
Dnomd343 2 years ago
parent
commit
57c2feec15
  1. 2
      Dockerfile

2
Dockerfile

@ -46,6 +46,8 @@ RUN cargo build --release
WORKDIR /ClearDNS/bin/
RUN cmake -DCMAKE_EXE_LINKER_FLAGS=-static -DCMAKE_BUILD_TYPE=Release .. && make
RUN strip cleardns && mv cleardns /tmp/
COPY --from=upx /tmp/upx /usr/bin/
RUN upx -9 /tmp/cleardns
FROM ${ALPINE} AS build
RUN apk add xz

Loading…
Cancel
Save