|
|
@@ -1,15 +1,17 @@
|
|
|
-FROM ubuntu:14.04
|
|
|
+FROM ubuntu:16.04
|
|
|
EXPOSE 5000
|
|
|
COPY ./web /home/SEEC-Judge/web
|
|
|
COPY ./lorun /home/Seec-Judge/lorun
|
|
|
COPY ./setup.py /home/SEEC-Judhe/setup.py
|
|
|
-RUN apt-get update \
|
|
|
+RUN add-apt-repository ppa:deadsnakes/ppa \
|
|
|
+ && apt-get update \
|
|
|
&& apt-get install --no-install-recommends --no-install-suggests -y \
|
|
|
python3.6 \
|
|
|
python3-pip \
|
|
|
gunicorn \
|
|
|
gcc \
|
|
|
- java \
|
|
|
+ default-jre \
|
|
|
+ default-jdk \
|
|
|
aptitude \
|
|
|
g++
|
|
|
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 2
|