phpMyAdmin Dockerfile

This commit is contained in:
Juan Ferrer 2020-01-13 09:28:25 +01:00
parent 38eb3907be
commit e567c4276d
2 changed files with 26 additions and 0 deletions

13
phpmyadmin/Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM phpmyadmin/phpmyadmin:latest
RUN apt-get update \
&& apt-get install -y --no-install-recommends unzip \
&& curl https://files.phpmyadmin.net/themes/metro/2.8.1/metro-2.8.1.zip -o metro.zip \
&& unzip -d /etc/phpmyadmin/themes metro.zip \
&& ln -s /etc/phpmyadmin/themes/metro /usr/src/phpmyadmin/themes \
&& rm metro.zip \
&& apt-get purge -y --auto-remove unzip \
&& rm -rf /var/lib/apt/lists/*
COPY style.css /etc/phpmyadmin/
RUN echo "<?php include('/etc/phpmyadmin/style.css'); ?>" >> /etc/phpmyadmin/themes/metro/css/common.css.php

13
phpmyadmin/style.css Normal file
View File

@ -0,0 +1,13 @@
body {
font-size: 10pt !important;
}
body#loginform #page_content {
height: 250px !important;
}
.CodeMirror {
font-size: 13px;
}
body .ui-dialog {
top: 40px !important;
width: 1000px !important;
}