diff --git a/Dockerfile b/Dockerfile index 86128d41..7d17c926 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,6 @@ -FROM debian:7.11-slim +FROM debian:10-slim RUN useradd -u 20001 postgres_exporter -FROM scratch - -COPY --from=0 /etc/passwd /etc/passwd USER postgres_exporter ARG binary