10 lines
342 B
Docker
10 lines
342 B
Docker
# This file is used directly by the goreleaser build
|
|
# It is used to build the final container image
|
|
FROM alpine as builder
|
|
RUN apk --no-cache --update add ca-certificates
|
|
|
|
FROM scratch
|
|
WORKDIR /
|
|
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
|
COPY /butterrobot /usr/bin/butterrobot
|
|
ENTRYPOINT ["/usr/bin/butterrobot"]
|