Skip to content

Commit

Permalink
Switch to debian baseimage for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
wrouesnel committed Feb 25, 2020
1 parent 81f9c78 commit f276548
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions 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
Expand Down

0 comments on commit f276548

Please sign in to comment.