Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zyclonite authored Oct 25, 2024
1 parent 5ba72b5 commit 1dbaacc
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
Expand Up @@ -2,14 +2,14 @@ FROM golang:1.23-alpine3.20 as builder

RUN set -x \
&& apk --no-cache add git make \
&& git clone --branch v0.41.2 --depth 1 https://github.com/percona/mongodb_exporter.git /go/src/github.com/percona/mongodb_exporter \
&& git clone --branch v0.42.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.20

LABEL maintainer "NoEnv"
LABEL version "0.41.2"
LABEL version "0.42.0"
LABEL description "Mongo Exporter as Docker Image"

EXPOSE 9104
Expand Down

0 comments on commit 1dbaacc

Please sign in to comment.