summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authormahesh2017-11-10 03:20:58 +0530
committermahesh2017-11-10 03:20:58 +0530
commita3b8e78fec5ab542675ca99949b2810e95536c21 (patch)
treea2df4edf6bbf91dac70a8940cb4ca1e405e25ccc /Dockerfile
parent0bb6a4984d1e97c50a4e8da9394798c4c9a1e589 (diff)
parentcfcb2ed39c724639fe17338e29e327d08ae641b2 (diff)
downloadonline_test-a3b8e78fec5ab542675ca99949b2810e95536c21.tar.gz
online_test-a3b8e78fec5ab542675ca99949b2810e95536c21.tar.bz2
online_test-a3b8e78fec5ab542675ca99949b2810e95536c21.zip
Merge branch 'master' of https://github.com/fossee/online_test into beautify_assertions
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile18
1 files changed, 8 insertions, 10 deletions
diff --git a/Dockerfile b/Dockerfile
index 72a74f4..6a7d894 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,13 +1,11 @@
-FROM debian:8.2
+FROM ubuntu:16.04
MAINTAINER FOSSEE <pythonsupport@fossee.in>
# Update Packages and Install Python & net-tools
-RUN apt-get update && apt-get install -y python net-tools python-pip && pip install tornado
-
-# Copy the project folder from host into container
-COPY ./yaksh /src/yaksh
-
-WORKDIR /src
-
-# Run Yaksh code server
-CMD ["python", "-m", "yaksh.code_server"]
+RUN apt-get update && \
+apt-get install -y software-properties-common && \
+echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \
+add-apt-repository -y ppa:webupd8team/java && \
+apt-get update && \
+apt-get install -y oracle-java8-installer && \
+apt-get install -y sudo python net-tools git python3-pip vim libmysqlclient-dev scilab build-essential python3-numpy python3-scipy ipython3 ipython3-notebook python3-pandas python3-nose