Skip to content

Commit dc5fc98

Browse files
authored
Merge pull request #57 from cybertec-postgresql/exporter_fix
update exporter-dockerfile
2 parents 44d6d72 + 6ff0fa6 commit dc5fc98

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

docker/exporter/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ ARG PACKAGER
1010
RUN ${PACKAGER} -y install --nodocs \
1111
--setopt=skip_missing_names_on_install=False \
1212
git \
13-
go \
1413
dumb-init \
14+
wget \
15+
make \
1516
&& ${PACKAGER} -y clean all ;
1617

18+
RUN wget https://go.dev/dl/go1.23.0.linux-amd64.tar.gz && tar -xzf go1.23.0.linux-amd64.tar.gz && mv go /usr/local
19+
1720
RUN git clone https://github.com/prometheus-community/postgres_exporter.git && cd postgres_exporter && make build
1821

1922
FROM ${CONTAINERIMAGE}

0 commit comments

Comments
 (0)