Files
v2rayA/Dockerfile.dev
T

10 lines
318 B
Docker

FROM golang
RUN echo "192.30.253.112 github.com" >> "/etc/hosts"
RUN echo "151.101.185.194 github.global.ssl.fastly.net" >> "/etc/hosts"
ENV GOPROXY=https://goproxy.io
RUN go get github.com/codegangsta/gin
RUN apt-get update
RUN apt-get install -y psmisc ca-certificates
WORKDIR /service
ENTRYPOINT gin -p 2017 -i run