Created
April 21, 2017 21:46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM fedora:25 | |
MAINTAINER Josh Berkus "josh@agliodbs.com" | |
LABEL Usage="docker run -d -P --tmpfs /run --tmpfs /tmp -v /sys/fs/cgroup:/sys/fs/cgroup pgadmin4" | |
ENV container=oci | |
# install packages | |
RUN dnf install -y https://download.postgresql.org/pub/repos/yum/9.6/fedora/fedora-25-x86_64/pgdg-fedora96-9.6-3.noarch.rpm && \ | |
dnf -y install openssl && \ | |
dnf -y install pgadmin4-v1-web httpd && \ | |
dnf clean all | |
# copy over httpd.conf and start webserver | |
COPY pgadmin-web.conf /etc/httpd/conf.d/pgadmin-web.conf | |
RUN systemctl enable pgadmin4-v1 \ | |
&& systemctl enable httpd | |
STOPSIGNAL SIGRTMIN+3 | |
EXPOSE 80 | |
# this is a systemd container, so use init | |
CMD [ "/sbin/init" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment