mirror of
https://github.com/phpmyadmin/docker.git
synced 2026-08-28 10:15:12 -05:00
We would really prefer php7, but it's not there and php packages got renamed to php5 Issue #31 Signed-off-by: Michal Čihař <michal@cihar.com>
20 lines
565 B
Docker
20 lines
565 B
Docker
# Switch back to stable once 3.4 is out
|
|
FROM alpine:edge
|
|
|
|
RUN apk add --no-cache php5-cli php5-mysqli php5-ctype php5-xml php5-gd php5-zlib php5-openssl php5-curl php5-opcache php5-json php5-mcrypt curl
|
|
|
|
RUN curl --location https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.tar.gz | tar xzf - \
|
|
&& mv phpMyAdmin* /www \
|
|
&& rm -rf /www/js/jquery/src/ /www/examples /www/po/
|
|
|
|
COPY config.inc.php /www/
|
|
COPY run.sh /run.sh
|
|
RUN chmod u+rwx /run.sh
|
|
|
|
EXPOSE 80
|
|
|
|
ENV PHP_UPLOAD_MAX_FILESIZE=64M \
|
|
PHP_MAX_INPUT_VARS=2000
|
|
|
|
ENTRYPOINT [ "/run.sh" ]
|