diff --git a/Dockerfile b/Dockerfile index 90c64e2..658986e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,13 +6,11 @@ RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch. && rm -rf /etc/pgbouncer/{pgbouncer.ini,userlist.txt} \ && touch /etc/pgbouncer/{pgbouncer.ini,userlist.txt} \ && chmod 777 /etc/pgbouncer/{pgbouncer.ini,userlist.txt} \ - && chmod 777 /var/{run,log}/pgbouncer \ - && curl -L -o /usr/bin/haberdasher https://github.com/RedHatInsights/haberdasher/releases/download/v0.1.5/haberdasher_linux_amd64 \ - && chmod 755 /usr/bin/haberdasher + && chmod 777 /var/{run,log}/pgbouncer ADD entrypoint.sh /entrypoint.sh EXPOSE 5432 -ENTRYPOINT ["/usr/bin/haberdasher"] -CMD ["/entrypoint.sh", "/usr/bin/pgbouncer", "/etc/pgbouncer/pgbouncer.ini"] +ENTRYPOINT ["/entrypoint.sh"] +CMD ["/usr/bin/pgbouncer", "/etc/pgbouncer/pgbouncer.ini"]