diff options
author | terminaldweller <devi@terminaldweller.com> | 2023-12-04 07:42:30 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2023-12-04 07:42:30 +0000 |
commit | 0baabc9111e3b8f8f4a9bafda71ea74bce426b33 (patch) | |
tree | 0677af813eda89c8e65f96527766446c3b70651d /telebot/Dockerfile | |
parent | using the simpler proxyfromenv function from the stdlib (diff) | |
download | hived-0baabc9111e3b8f8f4a9bafda71ea74bce426b33.tar.gz hived-0baabc9111e3b8f8f4a9bafda71ea74bce426b33.zip |
updated the go.mod files
Diffstat (limited to 'telebot/Dockerfile')
-rw-r--r-- | telebot/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/telebot/Dockerfile b/telebot/Dockerfile index e123c95..898b524 100644 --- a/telebot/Dockerfile +++ b/telebot/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.16 as builder +FROM alpine:3.18 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 @@ -10,13 +10,13 @@ RUN cd /telebot && go mod download COPY *.go /telebot/ RUN cd /telebot && go build -FROM alpine:3.16 as certbuilder +FROM alpine:3.18 as certbuilder RUN apk add openssl WORKDIR /certs RUN openssl req -nodes -new -x509 -subj="/C=US/ST=Denial/L=springfield/O=Dis/CN=localhost" -keyout server.key -out server.cert # FROM gcr.io/distroless/static-debian10 -FROM alpine:3.16 +FROM alpine:3.18 COPY --from=certbuilder /certs /certs COPY --from=builder /telebot/telebot /telebot/ COPY ./docker-entrypoint.sh /telebot/ |