summaryrefslogtreecommitdiffstats
path: root/Applications/phpmyadmin/Dockerfile
blob: c080a1ee0404e9062d2475f8b9b6704bdb41a03d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM startx/sv-php
MAINTAINER Christophe LARUE <dev@startx.fr>

RUN cd $TMP_APP_PATH && \
    wget -q https://files.phpmyadmin.net/phpMyAdmin/4.5.2/phpMyAdmin-4.5.2-all-languages.zip && \
    unzip phpMyAdmin-4.5.2-all-languages.zip && \
    rm -f phpMyAdmin-4.5.2-all-languages.zip && \
    mv phpMyAdmin-4.5.2-all-languages/* ./  && \
    rm -rf phpMyAdmin-4.5.2-all-languages 
COPY config.inc.php $TMP_APP_PATH/config.inc.php
COPY test.php $TMP_APP_PATH/test.php

EXPOSE 80 443
VOLUME [$APP_PATH,$LOG_PATH]
CMD ["/bin/run.sh"]