Switch to debian baseimage for docker (#376)

This commit is contained in:
Will Rouesnel 2020-02-26 00:49:30 +11:00 committed by GitHub
parent 81f9c78d61
commit 3ecfd46549
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -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