mirror of
https://github.com/boringproxy/boringproxy.git
synced 2025-02-25 18:55:29 -06:00
Add Dockerfile
This commit is contained in:
parent
2c1bc2d001
commit
bb7e991515
14
docker/Dockerfile
Normal file
14
docker/Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
FROM ubuntu:16.04
|
||||
|
||||
RUN apt-get update && apt-get install -y curl git
|
||||
|
||||
RUN git clone https://github.com/boringproxy/boringproxy
|
||||
WORKDIR boringproxy
|
||||
RUN ./install_go.sh
|
||||
ENV PATH="${PATH}:/usr/local/go/bin"
|
||||
ENV PATH="${PATH}:/root/go/bin"
|
||||
RUN go get github.com/GeertJohan/go.rice/rice
|
||||
RUN rice embed-go
|
||||
RUN go build
|
||||
|
||||
CMD ./boringproxy server
|
Loading…
Reference in New Issue
Block a user