Dockerfile 339 B

12345678910
  1. # syntax=docker/dockerfile:1
  2. FROM playn/alpine AS builder
  3. RUN apk update --no-cache && \
  4. apk add --no-cache rust cargo make && \
  5. cargo install encrypted-dns
  6. FROM playn/alpine
  7. COPY --from=builder /root/.cargo/bin/encrypted-dns /usr/local/bin/encrypted-dns
  8. RUN apk add --no-cache libgcc
  9. ENTRYPOINT [ "/usr/local/bin/encrypted-dns" ]