mirror of
https://github.com/whyvl/wireproxy.git
synced 2025-04-29 19:01:42 +02:00
14 lines
351 B
Docker
14 lines
351 B
Docker
FROM golang:alpine AS go-build
|
|
|
|
RUN apk --no-cache add --update git
|
|
RUN git clone https://github.com/octeep/wireproxy.git
|
|
RUN cd ./wireproxy && go build ./cmd/wireproxy
|
|
|
|
|
|
FROM alpine:latest
|
|
|
|
RUN apk upgrade
|
|
COPY --from=go-build /go/wireproxy/wireproxy /usr/bin/
|
|
|
|
VOLUME [ "/etc/wireproxy"]
|
|
ENTRYPOINT [ "/usr/bin/wireproxy", "/etc/wireproxy/config" ]
|