Skip to content

Commit 0a4e5c9

Browse files
committed
Dockerfile: Fix build, update base
1 parent 0ef395f commit 0a4e5c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM golang:1.17.8-alpine3.15 AS builder
1+
FROM golang:1.18.3-alpine3.16 AS builder
22
WORKDIR /go/src/github.com/mrueg/netcupscp-exporter
33
COPY . .
44
RUN apk --no-cache add make git && make
55

6-
FROM scratch
6+
FROM alpine:3.16
77
COPY --from=builder /go/src/github.com/mrueg/netcupscp-exporter/netcupscp-exporter /
88

99
CMD ["/netcupscp-exporter"]

0 commit comments

Comments
 (0)