Commit 369b18bc authored by ginuerzh's avatar ginuerzh

update Dockerfile

parent 48d66f6d
FROM golang:1 as builder
FROM golang:1-alpine as builder
RUN apk add --no-cache musl-dev git gcc
ADD . /data
......@@ -14,8 +16,6 @@ WORKDIR /bin/
COPY --from=builder /data/cmd/gost/gost .
RUN chmod u+x gost
RUN ls -l /bin/gost && /bin/gost -h
RUN /bin/gost -V
ENTRYPOINT ["/bin/gost"]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment