upgrade alpine to v3.9 in docker image

This commit is contained in:
Cotton Hou
2019-04-19 17:04:06 +08:00
committed by GitHub
parent 0bf2b94d92
commit 2ea87c9c22
+1 -1
View File
@@ -5,7 +5,7 @@ RUN apk update && \
apk add git
RUN go get -ldflags "-X main.VERSION=$(date -u +%Y%m%d) -s -w" github.com/xtaci/kcptun/client && go get -ldflags "-X main.VERSION=$(date -u +%Y%m%d) -s -w" github.com/xtaci/kcptun/server
FROM alpine:3.6
FROM alpine:3.9
COPY --from=builder /go/bin /bin
EXPOSE 29900/udp
EXPOSE 12948