blob: 91c7d259b8d1737223f17ddac367a57349bf0c42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
FROM centos/php-70-centos7:latest
MAINTAINER Christophe LARUE <dev@startx.fr>
USER root
ENV APP_PATH=/opt/app-root/src
RUN cd $APP_PATH && \
wget -q https://files.phpmyadmin.net/phpMyAdmin/4.7.7/phpMyAdmin-4.7.7-all-languages.zip && \
unzip phpMyAdmin-4.7.7-all-languages.zip && \
rm -f phpMyAdmin-4.7.7-all-languages.zip && \
mv phpMyAdmin-4.7.7-all-languages/* ./ && \
rm -rf phpMyAdmin-4.7.7-all-languages && \
rm -f config.sample.inc.php && \
chown -R 1001:0 $APP_PATH && \
chmod -R ug+rwx $APP_PATH
COPY config.inc.php $APP_PATH/config.inc.php
USER 1001
EXPOSE 8080
CMD $STI_SCRIPTS_PATH/run
|