mirror of https://github.com/ginuerzh/gost
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
180 B
15 lines
180 B
FROM golang:1 as builder
|
|
|
|
ADD . /data
|
|
|
|
WORKDIR /data
|
|
|
|
RUN cd cmd/gost && go install
|
|
|
|
FROM alpine:latest
|
|
|
|
WORKDIR /bin/
|
|
|
|
COPY --from=builder /go/bin/gost .
|
|
|
|
ENTRYPOINT ["/bin/gost"]
|