Skip to content

Commit 54bcac9

Browse files
kfeofantovMargoTuleninova
authored andcommitted
Set alpine tag 3.7
1 parent 990b7e0 commit 54bcac9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ COPY . .
77
RUN go build -v -ldflags="-w -s" -o /bin/api-gateway ./cmd/api-gateway
88

99
#### Generate Cert Step ####
10-
FROM alpine as generator
10+
FROM alpine:3.7 as generator
1111

1212
RUN apk update && \
1313
apk add --no-cache openssl && \
@@ -18,7 +18,7 @@ WORKDIR /cert
1818
RUN openssl req -subj '/CN=containerum.io/O=Containerum/C=LV' -new -newkey rsa:2048 -sha256 -days 365 -nodes -x509 -keyout key.pem -out cert.pem
1919

2020
#### Run Step ####
21-
FROM alpine
21+
FROM alpine:3.7
2222

2323
# Copy bin and migrations
2424
RUN mkdir -p /app

0 commit comments

Comments
 (0)