From cbd87c95f86d3d8f4f8b7b4954474541db6319d9 Mon Sep 17 00:00:00 2001 From: huli Date: Wed, 8 Jan 2020 11:41:03 +0800 Subject: [PATCH] Added nodejs, use docker ubuntu image --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 21d1e9b..a5bf820 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM registry.docker-cn.com/library/ubuntu:16.04 +FROM 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 nodejs python python3.5 python-pkg-resources python3-pkg-resources gcc g++ $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 && \