testing removal of ca-certicates from docker file
All checks were successful
ci / build (push) Successful in 43s
All checks were successful
ci / build (push) Successful in 43s
This commit is contained in:
parent
3717327e7f
commit
e72ef905ce
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
FROM golang:1.24.1-alpine AS build-env
|
||||
ENV GO111MODULE=on
|
||||
WORKDIR /go/src/github.com/hugomd/ascii-live/
|
||||
RUN apk add ca-certificates
|
||||
# RUN apk add ca-certificates
|
||||
COPY . /go/src/github.com/hugomd/ascii-live/
|
||||
RUN cd /go/src/github.com/hugomd/ascii-live && \
|
||||
go mod download && \
|
||||
|
@ -9,5 +9,5 @@ RUN cd /go/src/github.com/hugomd/ascii-live && \
|
|||
|
||||
FROM scratch
|
||||
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
|
||||
# COPY --from=build-env /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
CMD ["/main"]
|
||||
|
|
Loading…
Reference in a new issue