From e24a591310bba9cb94b2ebdd1e41c184131ae1a8 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Mon, 28 Mar 2022 23:26:01 +0430 Subject: added some security headers --- telebot/Dockerfile | 1 + telebot/go.sum | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'telebot') diff --git a/telebot/Dockerfile b/telebot/Dockerfile index 8259880..134d6a5 100644 --- a/telebot/Dockerfile +++ b/telebot/Dockerfile @@ -1,6 +1,7 @@ FROM alpine:3.13 as builder RUN apk update && apk upgrade RUN apk add go git +ENV GOPROXY=https://goproxy.io COPY go.* /telebot/ RUN cd /telebot && go mod download COPY *.go /telebot/ diff --git a/telebot/go.sum b/telebot/go.sum index 5b1e0a1..ba1d9b7 100644 --- a/telebot/go.sum +++ b/telebot/go.sum @@ -138,7 +138,6 @@ google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0 h1:bxAC2xTBsZGibn2RTntX0oH50xLsqy1OxA9tTL3p/lk= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -- cgit v1.2.3