From 6cac02b80abce73a1e8212470e4ac7471166e9ed Mon Sep 17 00:00:00 2001 From: Harry-zklcdc <1269158832@qq.com> Date: Wed, 8 Jul 2020 12:25:24 +0800 Subject: [PATCH] [Fix] Some Problem --- Dockerfile | 2 +- Dockerfile-cn | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b6ad31c..8a44f75 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN buildDeps='software-properties-common git libtool cmake python-dev python3-p add-apt-repository ppa:ubuntu-toolchain-r/test && apt-get update && apt-get install -y gcc-9 g++-9 && \ rm /usr/bin/gcc /usr/bin/g++ && ln -s /usr/bin/gcc-9 /usr/bin/gcc && ln -s /usr/bin/g++-9 /usr/bin/g++ && \ add-apt-repository ppa:openjdk-r/ppa && add-apt-repository ppa:longsleep/golang-backports && apt-get update && apt-get install -y golang-go openjdk-8-jdk && \ - pip3 install --no-cache-dir psutil gunicorn flask requests idna && \ + pip3 install -I --no-cache-dir psutil gunicorn flask requests idna && \ cd /tmp && git clone -b newnew --depth 1 https://github.com/QingdaoU/Judger && cd Judger && \ mkdir build && cd build && cmake .. && make && make install && cd ../bindings/Python && python3 setup.py install && \ apt-get purge -y --auto-remove $buildDeps && \ diff --git a/Dockerfile-cn b/Dockerfile-cn index b78fe6f..c3fd1a9 100644 --- a/Dockerfile-cn +++ b/Dockerfile-cn @@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y wget && wget https://raw.githubusercont add-apt-repository ppa:ubuntu-toolchain-r/test && apt-get update && apt-get install -y gcc-9 g++-9 && \ rm /usr/bin/gcc /usr/bin/g++ && ln -s /usr/bin/gcc-9 /usr/bin/gcc && ln -s /usr/bin/g++-9 /usr/bin/g++ && \ add-apt-repository ppa:openjdk-r/ppa && add-apt-repository ppa:longsleep/golang-backports && apt-get update && apt-get install -y golang-go openjdk-8-jdk && \ - pip3 install --no-cache-dir psutil gunicorn flask requests idna -i https://mirrors.aliyun.com/pypi/simple/ && \ + pip3 install -I --no-cache-dir psutil gunicorn flask requests idna -i https://mirrors.aliyun.com/pypi/simple/ && \ cd /tmp && git clone -b newnew --depth 1 https://github.com/QingdaoU/Judger && cd Judger && \ mkdir build && cd build && cmake .. && make && make install && cd ../bindings/Python && python3 setup.py install && \ apt-get purge -y --auto-remove wget $buildDeps && \