From deccc46d93793098204cdc1405d9aac4bc9e80ae Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Wed, 1 Mar 2023 00:10:22 +0330 Subject: golang lint fixes --- telebot/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'telebot/Dockerfile') diff --git a/telebot/Dockerfile b/telebot/Dockerfile index a3cebf9..e123c95 100644 --- a/telebot/Dockerfile +++ b/telebot/Dockerfile @@ -1,5 +1,7 @@ FROM alpine:3.16 as builder ENV GOPROXY=https://goproxy.io +ENV ALL_PROXY=socks5://192.168.1.214:9995 +ENV HTTPS_PROXY=socks5://192.168.1.214:9995 RUN apk update && apk upgrade RUN apk add go git ENV GOPROXY=https://goproxy.io @@ -18,4 +20,6 @@ FROM alpine:3.16 COPY --from=certbuilder /certs /certs COPY --from=builder /telebot/telebot /telebot/ COPY ./docker-entrypoint.sh /telebot/ +ENV ALL_PROXY= +ENV HTTPS_PROXY= ENTRYPOINT ["/telebot/docker-entrypoint.sh"] -- cgit v1.2.3