]> source.dussan.org Git - gitea.git/commitdiff
Change the MySQL password placeholder to THE_DB_PASSWORD.
authorcrystaldust <juzhenatpku@gmail.com>
Tue, 22 Apr 2014 09:49:10 +0000 (09:49 +0000)
committercrystaldust <juzhenatpku@gmail.com>
Tue, 22 Apr 2014 09:49:10 +0000 (09:49 +0000)
dockerfiles/images/mysql/Dockerfile
dockerfiles/images/postgres/Dockerfile

index 9b163e32bf71a297f4c03e671db6251fd782f4b3..8fff5a194c251f3989006f0190216381b5d1612e 100644 (file)
@@ -10,7 +10,7 @@ RUN add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu $(lsb_release -s
 RUN apt-get --yes --force-yes update
 RUN apt-get --yes --force-yes upgrade 
 
-ENV MYSQL_PASSWORD THE_MYSQL_PASSWORD
+ENV MYSQL_PASSWORD THE_DB_PASSWORD
 
 RUN echo "mysql-server mysql-server/root_password password $MYSQL_PASSWORD" | debconf-set-selections  
 RUN echo "mysql-server mysql-server/root_password_again password $MYSQL_PASSWORD" | debconf-set-selections
index 9f026600c6c94caeea464d49e401d08e4111998d..44e82b7d8844cf4f4cfbca65c5e2960e76b869dc 100644 (file)
@@ -1,6 +1,8 @@
 FROM ubuntu
 MAINTAINER SvenDowideit@docker.com
 
+ENV DEBIAN_FRONTEND noninteractive
+
 # Add the PostgreSQL PGP key to verify their Debian packages.
 # It should be the same key as https://www.postgresql.org/media/keys/ACCC4CF8.asc 
 RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8