Skip to content

Commit 2881390

Browse files
author
marcel corso gonzalez
authored
Merge pull request #118 from messagebird/go-118-alpine-315
upgrade Docker container to use golang:1.18 and alpine:3.15. Pin alpine
2 parents 521accf + f5b7dd7 commit 2881390

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM golang:1.17 AS builder
1+
FROM golang:1.18 AS builder
22

33
WORKDIR /build
44

55
COPY . .
66

77
RUN GO111MODULE=on CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -mod vendor -o sachet github.com/messagebird/sachet/cmd/sachet
88

9-
FROM alpine
9+
FROM alpine:3.15
1010

1111
COPY --from=builder /build/sachet /usr/local/bin
1212
COPY --chown=nobody examples/config.yaml /etc/sachet/config.yaml

0 commit comments

Comments
 (0)