Skip to content

Commit

Permalink
Use alpine image
Browse files Browse the repository at this point in the history
Alpine image is lighter.
  • Loading branch information
klimber authored and jfcoz committed Aug 22, 2020
1 parent 6650c7e commit ae544f2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM debian:latest
FROM alpine:latest
MAINTAINER Julien Francoz <julien-postgresqltuner@francoz.net>
RUN apt-get update \
&& apt-get install -y libdbd-pg-perl ssh \
&& apt-get clean
RUN apk add perl-dbd-pg openssh-client
ADD postgresqltuner.pl /usr/bin/
ENTRYPOINT ["/usr/bin/postgresqltuner.pl"]

0 comments on commit ae544f2

Please sign in to comment.