removed certs
This commit is contained in:
parent
2bb006339d
commit
1679ee3e8c
1 changed files with 0 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
FROM golang:1.13-alpine AS build-env
|
FROM golang:1.13-alpine AS build-env
|
||||||
ENV GO111MODULE=on
|
ENV GO111MODULE=on
|
||||||
WORKDIR /go/src/github.com/hugomd/ascii-live/
|
WORKDIR /go/src/github.com/hugomd/ascii-live/
|
||||||
RUN apk add ca-certificates
|
|
||||||
COPY . /go/src/github.com/hugomd/ascii-live/
|
COPY . /go/src/github.com/hugomd/ascii-live/
|
||||||
RUN cd /go/src/github.com/hugomd/ascii-live && \
|
RUN cd /go/src/github.com/hugomd/ascii-live && \
|
||||||
go mod download && \
|
go mod download && \
|
||||||
|
@ -9,5 +8,4 @@ RUN cd /go/src/github.com/hugomd/ascii-live && \
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
COPY --from=build-env /go/src/github.com/hugomd/ascii-live/main /
|
COPY --from=build-env /go/src/github.com/hugomd/ascii-live/main /
|
||||||
COPY --from=build-env /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
|
||||||
CMD ["/main"]
|
CMD ["/main"]
|
||||||
|
|
Loading…
Reference in a new issue