mirror of
https://github.com/nextcloud/passman.git
synced 2025-02-25 07:53:32 +08:00
FIX Dockerfile image creation
This commit is contained in:
parent
771750efcd
commit
b666b546b0
1 changed files with 40 additions and 39 deletions
23
Dockerfile
23
Dockerfile
|
@ -17,27 +17,29 @@
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
FROM ubuntu:16.04
|
FROM ubuntu:18.04
|
||||||
RUN /bin/bash -c "export DEBIAN_FRONTEND=noninteractive" && \
|
RUN /bin/bash -c "export DEBIAN_FRONTEND=noninteractive" && \
|
||||||
/bin/bash -c "debconf-set-selections <<< 'mariadb-server-10.0 mysql-server/root_password password PASS'" && \
|
/bin/bash -c "debconf-set-selections <<< 'mariadb-server-10.0 mysql-server/root_password password PASS'" && \
|
||||||
/bin/bash -c "debconf-set-selections <<< 'mariadb-server-10.0 mysql-server/root_password_again password PASS'" && \
|
/bin/bash -c "debconf-set-selections <<< 'mariadb-server-10.0 mysql-server/root_password_again password PASS'" && \
|
||||||
|
/bin/bash -c "debconf-set-selections <<< 'tzdata tzdata/Zones/Europe select Madrid'" && \
|
||||||
|
/bin/bash -c "echo \"Europe/Zurich\" > /etc/timezone " && \
|
||||||
|
/bin/bash -c "ln -fs /usr/share/zoneinfo/`cat /etc/timezone` /etc/localtime" && \
|
||||||
apt-get -y update && apt-get install -y \
|
apt-get -y update && apt-get install -y \
|
||||||
apache2 \
|
apache2 \
|
||||||
cowsay \
|
cowsay \
|
||||||
cowsay-off \
|
cowsay-off \
|
||||||
git \
|
git \
|
||||||
curl \
|
curl \
|
||||||
libapache2-mod-php7.0 \
|
libapache2-mod-php7.2 \
|
||||||
mariadb-server \
|
mariadb-server \
|
||||||
php7.0 \
|
php7.2 \
|
||||||
php7.0-mysql \
|
php7.2-mysql \
|
||||||
php-curl \
|
php7.2-curl \
|
||||||
php-dompdf \
|
php-dompdf \
|
||||||
php-gd \
|
php7.2-gd \
|
||||||
php-mbstring \
|
php7.2-mbstring \
|
||||||
php-xml \
|
php7.2-xml \
|
||||||
php-xml-serializer \
|
php7.2-zip \
|
||||||
php-zip \
|
|
||||||
wget
|
wget
|
||||||
|
|
||||||
RUN a2enmod ssl
|
RUN a2enmod ssl
|
||||||
|
@ -91,4 +93,3 @@ ENTRYPOINT service mysql start && \
|
||||||
tail -f /var/www/html/data/nextcloud.log"
|
tail -f /var/www/html/data/nextcloud.log"
|
||||||
|
|
||||||
#/usr/games/cowsay -f dragon.cow "you might now login using username:admin password:admin" && \
|
#/usr/games/cowsay -f dragon.cow "you might now login using username:admin password:admin" && \
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue