From 41a381d2bf63782673bcd3488a7b608f89e5b4c8 Mon Sep 17 00:00:00 2001 From: Surim Kim Date: Wed, 3 Apr 2024 11:08:09 +0900 Subject: [PATCH] fix docker dev environment build --- Dockerfile.dev | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.dev b/Dockerfile.dev index 978b6f11..3b4b1d1d 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -5,9 +5,9 @@ FROM golang:alpine RUN apk --no-cache add iptables ip6tables git ENV GO111MODULE=on ENV GOPROXY=https://goproxy.cn -RUN go get github.com/codegangsta/gin +RUN go install github.com/codegangsta/gin@latest WORKDIR /service -COPY --from=v2ray /usr/bin/v2ray /usr/bin/v2ctl /usr/share/v2ray/ +COPY --from=v2ray /usr/bin/v2ray /usr/share/v2ray/ COPY --from=v2ray /usr/local/share/v2ray/* /usr/local/share/v2ray/ ENV PATH=$PATH:/usr/share/v2ray ENV CONFIG=../config.json