Skip to content

Commit 0f11683

Browse files
authored
Merge pull request #5 from mrakopes/build-upd
Dockerfile - update golang:1.20, alpine:3.17
2 parents 80e2b9d + c60a410 commit 0f11683

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,5 +1,5 @@
11
# Build the dnsmasq-controller binary
2-
FROM golang:1.14 as builder
2+
FROM golang:1.20 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests
@@ -18,7 +18,7 @@ COPY pkg/ pkg/
1818
# Build
1919
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o dnsmasq-controller main.go
2020

21-
FROM alpine:3.12
21+
FROM alpine:3.17
2222
RUN apk add --no-cache dnsmasq
2323
COPY --from=builder /workspace/dnsmasq-controller /dnsmasq-controller
2424

0 commit comments

Comments
 (0)