Skip to content

Commit ae544f2

Browse files
klimberjfcoz
authored andcommitted
Use alpine image
Alpine image is lighter.
1 parent 6650c7e commit ae544f2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
FROM debian:latest
1+
FROM alpine:latest
22
MAINTAINER Julien Francoz <[email protected]>
3-
RUN apt-get update \
4-
&& apt-get install -y libdbd-pg-perl ssh \
5-
&& apt-get clean
3+
RUN apk add perl-dbd-pg openssh-client
64
ADD postgresqltuner.pl /usr/bin/
75
ENTRYPOINT ["/usr/bin/postgresqltuner.pl"]

0 commit comments

Comments
 (0)