This commit is contained in:
parent
6aedfc794f
commit
a6b1b8fd3e
1 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
||||||
# This file is used directly by the goreleaser build
|
# This file is used directly by the goreleaser build
|
||||||
# It is used to build the final container image
|
# It is used to build the final container image
|
||||||
|
FROM golang:alpine as build
|
||||||
|
RUN apk --no-cache --update add ca-certificates
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||||
COPY /butterrobot /usr/bin/butterrobot
|
COPY /butterrobot /usr/bin/butterrobot
|
||||||
ENTRYPOINT ["/usr/bin/butterrobot"]
|
ENTRYPOINT ["/usr/bin/butterrobot"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue