FROM alpine:latest
# Since Alpine linux 3.3 we can install on-the-fly
-RUN apk add --no-cache perl
+RUN apk add --no-cache perl
COPY pgbadger /usr/local/bin
By default INSTALLDIRS is set to site.
+DOCKER USAGE
+ In order to run pgbadger in docker container, you have to build it:
+
+ docker build . -t dalibo/pgbadger
+
+ After you can run with:
+
+ docker run dalibo/pgbadger --help
+
POSTGRESQL CONFIGURATION
You must enable and set some configuration directives in your
postgresql.conf before starting.
By default INSTALLDIRS is set to site.
+=head1 DOCKER USAGE
+
+In order to run pgbadger in docker container, you have to build it:
+
+ docker build . -t dalibo/pgbadger
+
+After you can run with:
+
+ docker run dalibo/pgbadger --help
+
=head1 POSTGRESQL CONFIGURATION
You must enable and set some configuration directives in your postgresql.conf