You've already forked postgres_exporter
mirror of
https://github.com/prometheus-community/postgres_exporter.git
synced 2025-08-09 15:42:47 +03:00
Switch to debian baseimage for docker (#376)
This commit is contained in:
@@ -1,9 +1,6 @@
|
|||||||
FROM debian:7.11-slim
|
FROM debian:10-slim
|
||||||
RUN useradd -u 20001 postgres_exporter
|
RUN useradd -u 20001 postgres_exporter
|
||||||
|
|
||||||
FROM scratch
|
|
||||||
|
|
||||||
COPY --from=0 /etc/passwd /etc/passwd
|
|
||||||
USER postgres_exporter
|
USER postgres_exporter
|
||||||
|
|
||||||
ARG binary
|
ARG binary
|
||||||
|
Reference in New Issue
Block a user