diff options
author | terminaldweller <thabogre@gmail.com> | 2022-04-15 07:19:10 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-04-15 07:19:10 +0000 |
commit | dd0060af59bc182466398fb63090bfeb8878d104 (patch) | |
tree | c42d7af2f6af86776bc5c5d8116adbdcba004c39 | |
parent | added some security headers (diff) | |
download | hived-dd0060af59bc182466398fb63090bfeb8878d104.tar.gz hived-dd0060af59bc182466398fb63090bfeb8878d104.zip |
was using node image for self-signed certificates
Diffstat (limited to '')
-rw-r--r-- | hived/Dockerfile | 2 | ||||
-rw-r--r-- | telebot/Dockerfile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hived/Dockerfile b/hived/Dockerfile index 138e02c..d731da0 100644 --- a/hived/Dockerfile +++ b/hived/Dockerfile @@ -7,7 +7,7 @@ RUN cd /hived && go mod download COPY *.go /hived/ RUN cd /hived && go build -FROM node:lts-alpine3.13 as certbuilder +FROM alpine:3.15 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 diff --git a/telebot/Dockerfile b/telebot/Dockerfile index 134d6a5..d038ba2 100644 --- a/telebot/Dockerfile +++ b/telebot/Dockerfile @@ -7,7 +7,7 @@ RUN cd /telebot && go mod download COPY *.go /telebot/ RUN cd /telebot && go build -FROM node:lts-alpine3.13 as certbuilder +FROM alpine:3.15 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 |