diff --git a/Dockerfile b/Dockerfile index 667b4a7..05c6305 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.17 AS builder +FROM golang:1.18 AS builder WORKDIR /build @@ -6,7 +6,7 @@ COPY . . RUN GO111MODULE=on CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -mod vendor -o sachet github.com/messagebird/sachet/cmd/sachet -FROM alpine +FROM alpine:3.15 COPY --from=builder /build/sachet /usr/local/bin COPY --chown=nobody examples/config.yaml /etc/sachet/config.yaml