update docker file

This commit is contained in:
virusdefender 2015-08-31 20:02:54 +08:00
parent e1256bf652
commit b54b0717f6
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ RUN apt-get update
RUN apt-get -y install software-properties-common python-software-properties RUN apt-get -y install software-properties-common python-software-properties
RUN add-apt-repository -y ppa:webupd8team/java RUN add-apt-repository -y ppa:webupd8team/java
RUN apt-get update RUN apt-get update
RUN apt-get -y install python gcc g++ rake pkg-config git make autoconf automake libtool python-pip RUN apt-get -y install python gcc g++ rake pkg-config git make autoconf automake libtool python-pip python2.7-mysqldb
RUN echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections RUN echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
RUN echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections RUN echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections
RUN apt-get install -y oracle-java7-installer RUN apt-get install -y oracle-java7-installer

View File

@ -9,7 +9,7 @@ redis_config = {
# 判题的 docker 容器的配置参数 # 判题的 docker 容器的配置参数
docker_config = { docker_config = {
"image_name": "5453975e94c4", "image_name": "3da0e526934e",
"docker_path": "docker", "docker_path": "docker",
"shell": True "shell": True
} }