修改GCC和G++版本

This commit is contained in:
Harry-zklcdc 2019-11-14 11:10:05 +08:00 committed by GitHub
parent 123fb6fe72
commit 4053fb35c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ FROM registry.hub.docker.com/library/ubuntu:16.04
COPY build/java_policy /etc
RUN buildDeps='software-properties-common git libtool cmake python-dev python3-pip python-pip libseccomp-dev' && \
apt-get update && apt-get install -y python python3.5 python-pkg-resources python3-pkg-resources gcc g++ $buildDeps && \
apt-get update && apt-get install -y python python3.5 python-pkg-resources python3-pkg-resources gcc-8.4 g++-8.4 $buildDeps && \
add-apt-repository ppa:openjdk-r/ppa && apt-get update && apt-get install -y openjdk-8-jdk && \
pip3 install --no-cache-dir psutil gunicorn flask requests && \
cd /tmp && git clone -b newnew --depth 1 https://github.com/QingdaoU/Judger && cd Judger && \