17 lines
489 B
Docker
17 lines
489 B
Docker
FROM hangar18_frontend
|
|
MAINTAINER Michał "rysiek" Woźniak <rysiek@hackerspace.pl>
|
|
|
|
ENV APP_NAME "pgadmin"
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends git
|
|
|
|
RUN git clone -b REL_5-1 --single-branch https://github.com/phppgadmin/phppgadmin.git /opt/pgadmin \
|
|
&& rm -rf /opt/pgadmin/.git \
|
|
&& chown -R www-data:www-data /opt/pgadmin
|
|
|
|
RUN apt-get purge -y git \
|
|
&& apt-get autoremove -y
|
|
|
|
# needed for nginx
|
|
VOLUME ["/opt/pgadmin/"] |