Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zyclonite authored May 23, 2024
1 parent f4e3717 commit aaf5d64
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.21-alpine3.18 as builder
FROM golang:1.22-alpine3.20 as builder

RUN set -x \
&& apk --no-cache add git make \
&& git clone --branch v0.40.0 --depth 1 https://github.com/percona/mongodb_exporter.git /go/src/github.com/percona/mongodb_exporter \
&& cd /go/src/github.com/percona/mongodb_exporter \
&& make build

FROM alpine:3.18
FROM alpine:3.20

LABEL maintainer "NoEnv"
LABEL version "0.40.0"
Expand Down

0 comments on commit aaf5d64

Please sign in to comment.