Explorar el Código

Remove 'ENV DEBIAN_FRONTEND noninteractive'

Meaglith Ma hace 11 años
padre
commit
dc5546633f

+ 0 - 29
dockerfiles/build.sh.bak

@@ -1,29 +0,0 @@
-# Configs of the docker images, you might have specify your own configs here.
-# type of database, support 'mysql' and 'postgres'
-DB_TYPE="postgres"
-DB_PASSWORD="YOUR_DB_PASSWORD"
-DB_RUN_NAME="YOUR_DB_RUN_NAME"
-HOST_PORT="YOUR_HOST_PORT"
-
-# Replace the database root password in database image Dockerfile.
-sed -i "s/THE_DB_PASSWORD/$DB_PASSWORD/g" images/$DB_TYPE/Dockerfile
-# Replace the database root password in gogits image deploy.sh file. 
-sed -i "s/THE_DB_PASSWORD/$DB_PASSWORD/g" images/gogits/deploy.sh
-# Replace the database type in gogits image deploy.sh file. 
-sed -i "s/THE_DB_TYPE/$DB_TYPE/g" images/gogits/deploy.sh
-
-# Build the database image
-cd images/$DB_TYPE
-docker build -t gogs/$DB_TYPE .
-#
-## Build the gogits image
-cd ../gogits
-docker build -t gogs/gogits .
-#
-## Run MySQL image with name
-docker run -d --name $DB_RUN_NAME gogs/$DB_TYPE
-#
-## Run gogits image and link it to the database image
-echo "Now we have the $DB_TYPE image(running) and gogs image, use the follow command to start gogs service:"
-echo -e "\033[33m docker run -i -t --link $DB_RUN_NAME:db -p $HOST_PORT:3000 gogs/gogits \033[0m"
-

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 2
dockerfiles/images/gogits/Dockerfile


+ 0 - 2
dockerfiles/images/memcache/Dockerfile

@@ -3,8 +3,6 @@ FROM ubuntu
 # Set the file maintainer (your name - the file's author)
 MAINTAINER Borja Burgos <[email protected]>
 
-ENV DEBIAN_FRONTEND noninteractive
-
 # Update the default application repository sources list
 RUN apt-get update
 

+ 0 - 2
dockerfiles/images/mysql/Dockerfile

@@ -3,8 +3,6 @@
 FROM   stackbrew/ubuntu:saucy
 MAINTAINER  Meaglith Ma <[email protected]> (@genedna)
 
-ENV DEBIAN_FRONTEND noninteractive
-
 RUN apt-get install -y --force-yes software-properties-common
 RUN add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
 RUN apt-get --yes --force-yes update

+ 0 - 2
dockerfiles/images/postgres/Dockerfile

@@ -1,8 +1,6 @@
 FROM ubuntu
 MAINTAINER [email protected]
 
-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

+ 0 - 2
dockerfiles/images/redis/Dockerfile

@@ -1,8 +1,6 @@
 FROM   	    stackbrew/ubuntu:saucy
 MAINTAINER  Meaglith Ma <[email protected]> (@genedna), Lance Ju <[email protected]> (@crystaldust)
 
-ENV         DEBIAN_FRONTEND noninteractive
-
 RUN         apt-get update && apt-get install -y redis-server
 # Usually redis doesn't need a password
 #RUN         sed -i "s/# requirepass foobared/requirepass THE_REDIS_PASSWORD/g" /etc/redis/redis.conf

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio