Skip to content

Commit fa1fe28

Browse files
committed
Upgrade to Debian 10 and add SSL support
1 parent 238f5c0 commit fa1fe28

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
FROM debian:7.11-slim
2-
RUN useradd -u 20001 postgres_exporter
1+
FROM debian:10-slim
2+
RUN useradd -u 20001 postgres_exporter \
3+
&& apt-get update \
4+
&& apt-get -y install socat ca-certificates \
5+
&& apt-get clean \
6+
&& rm -rf /var/lib/apt/lists
37

48
FROM scratch
59

0 commit comments

Comments
 (0)