Skip to content

Commit

Permalink
Remove haberdasher.
Browse files Browse the repository at this point in the history
  • Loading branch information
Katherine Black authored and Katherine Black committed May 13, 2021
1 parent 84fdd09 commit 29ad0d6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 29ad0d6

Please sign in to comment.