fixed Dockerfile
This commit is contained in:
parent
efa8ded7c5
commit
16cb1dfbe7
@ -1,4 +1,4 @@
|
||||
FROM golang:alpine as build
|
||||
FROM golang:alpine AS build
|
||||
|
||||
RUN apk add --no-cache git
|
||||
|
||||
@ -12,8 +12,8 @@ RUN go install -v ./...
|
||||
|
||||
RUN go build -o main .
|
||||
|
||||
FROM alpine:latest as certs
|
||||
RUN apk --update add ca-certificates
|
||||
FROM alpine:latest AS certs
|
||||
RUN apk --no-cache add ca-certificates
|
||||
|
||||
FROM bash:latest
|
||||
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
|
Loading…
Reference in New Issue
Block a user