Add certificates

This commit is contained in:
cuigh 2018-06-25 19:03:18 +08:00
parent f95b3be328
commit c43861de33

View File

@ -7,6 +7,7 @@ RUN CGO_ENABLED=0 go build -ldflags "-s -w"
FROM alpine:3.7 FROM alpine:3.7
LABEL maintainer="cuigh <noname@live.com>" LABEL maintainer="cuigh <noname@live.com>"
WORKDIR /app WORKDIR /app
RUN apk add --no-cache ca-certificates
COPY --from=build /go/src/github.com/cuigh/swirl/swirl . COPY --from=build /go/src/github.com/cuigh/swirl/swirl .
COPY --from=build /go/src/github.com/cuigh/swirl/config ./config/ COPY --from=build /go/src/github.com/cuigh/swirl/config ./config/
COPY --from=build /go/src/github.com/cuigh/swirl/assets ./assets/ COPY --from=build /go/src/github.com/cuigh/swirl/assets ./assets/