Skip to content

Commit

Permalink
bump go
Browse files Browse the repository at this point in the history
  • Loading branch information
raylas committed Jan 3, 2024
1 parent 15a2090 commit f57a4b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19.3-alpine3.16 AS build
FROM golang:1.21.5-alpine3.19 AS build
WORKDIR /src
COPY . /src
ARG VERSION
Expand All @@ -8,6 +8,6 @@ RUN CGO_ENABLED=0 \
-ldflags="-s -w -X 'main.version=$VERSION'" \
-o nextdns-exporter

FROM alpine:3.16 AS src
FROM alpine:3.19 AS src
COPY --from=build /src/nextdns-exporter .
ENTRYPOINT /nextdns-exporter
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/raylas/nextdns-exporter

go 1.19
go 1.21

require (
github.com/beorn7/perks v1.0.1 // indirect
Expand All @@ -9,7 +9,7 @@ require (
github.com/prometheus/client_model v0.5.0 // indirect
github.com/prometheus/common v0.45.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
google.golang.org/protobuf v1.32.0 // indirect
)

require (
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=
google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I=
google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=

0 comments on commit f57a4b4

Please sign in to comment.