Skip to content

Commit

Permalink
Merge pull request #118 from messagebird/go-118-alpine-315
Browse files Browse the repository at this point in the history
upgrade Docker container to use golang:1.18 and alpine:3.15. Pin alpine
  • Loading branch information
marcel corso gonzalez committed Apr 7, 2022
2 parents 521accf + f5b7dd7 commit 2881390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM golang:1.17 AS builder
FROM golang:1.18 AS builder

WORKDIR /build

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
Expand Down

0 comments on commit 2881390

Please sign in to comment.