From 0713c60a5ad4b71d4a2050d13cf30afaf37d935b Mon Sep 17 00:00:00 2001 From: rohmhatre Date: Sun, 26 Nov 2017 00:25:02 +0530 Subject: Added docker compose configuration --- docker/Dockerfile_codeserver | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 docker/Dockerfile_codeserver (limited to 'docker/Dockerfile_codeserver') diff --git a/docker/Dockerfile_codeserver b/docker/Dockerfile_codeserver new file mode 100644 index 0000000..1bc93c2 --- /dev/null +++ b/docker/Dockerfile_codeserver @@ -0,0 +1,19 @@ +FROM ubuntu:16.04 + +MAINTAINER FOSSEE + +RUN apt-get update -y && apt-get install git python3-pip vim libmysqlclient-dev sudo -y + +VOLUME /Sites/online_test + +ADD Files/requirements-* /tmp/ + +RUN pip3 install -r /tmp/requirements-codeserver.txt && mkdir -p /Sites/online_test/yaksh_data/output /Sites/online_test/yaksh_data/data + +WORKDIR /Sites/online_test/yaksh_data + +ADD Files/Start-codeserver.sh /Sites + +EXPOSE 53579 + +CMD [ "/bin/bash" , "/Sites/Start-codeserver.sh" ] -- cgit From 268371d956dbe5cf349f1f6d8b3e4594a5c8c479 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Mon, 11 Dec 2017 12:14:33 +0530 Subject: Multiple changes: - Remove requirement files placed in docker/Files - Modify tasks to dynamically copy requirement files into docker directory - Add java installation to Docker files --- docker/Dockerfile_codeserver | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docker/Dockerfile_codeserver') diff --git a/docker/Dockerfile_codeserver b/docker/Dockerfile_codeserver index 1bc93c2..d1cb1cc 100644 --- a/docker/Dockerfile_codeserver +++ b/docker/Dockerfile_codeserver @@ -2,7 +2,13 @@ FROM ubuntu:16.04 MAINTAINER FOSSEE -RUN apt-get update -y && apt-get install git python3-pip vim libmysqlclient-dev sudo -y +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 git python3-pip vim libmysqlclient-dev sudo -y VOLUME /Sites/online_test -- cgit From 692c452323d39665191b3934f712e774258e31a1 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Tue, 26 Dec 2017 16:32:08 +0530 Subject: Multiple changes: - Modify JDK & JRE installation command - Remove vim installation command --- docker/Dockerfile_codeserver | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker/Dockerfile_codeserver') diff --git a/docker/Dockerfile_codeserver b/docker/Dockerfile_codeserver index d1cb1cc..0112c88 100644 --- a/docker/Dockerfile_codeserver +++ b/docker/Dockerfile_codeserver @@ -8,7 +8,7 @@ echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | de add-apt-repository -y ppa:webupd8team/java && \ apt-get update && \ apt-get install -y oracle-java8-installer && \ -apt-get install git python3-pip vim libmysqlclient-dev sudo -y +apt-get install git python3-pip libmysqlclient-dev sudo default-jre default-jdk -y VOLUME /Sites/online_test -- cgit From ca9e214a28dd0546855863041efe7e6d8de6710e Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Thu, 28 Dec 2017 14:48:10 +0530 Subject: - Modify code server docker file to remove Oracle JDK, JRE - Add decorator to tasks --- docker/Dockerfile_codeserver | 5 ----- 1 file changed, 5 deletions(-) (limited to 'docker/Dockerfile_codeserver') diff --git a/docker/Dockerfile_codeserver b/docker/Dockerfile_codeserver index 0112c88..955e681 100644 --- a/docker/Dockerfile_codeserver +++ b/docker/Dockerfile_codeserver @@ -3,11 +3,6 @@ FROM ubuntu:16.04 MAINTAINER FOSSEE 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 git python3-pip libmysqlclient-dev sudo default-jre default-jdk -y VOLUME /Sites/online_test -- cgit From 9a67cce12061fe63b526fdfbe03a03f6e859a044 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Thu, 28 Dec 2017 19:25:51 +0530 Subject: Add docker related changes --- docker/Dockerfile_codeserver | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker/Dockerfile_codeserver') diff --git a/docker/Dockerfile_codeserver b/docker/Dockerfile_codeserver index 955e681..1f030d5 100644 --- a/docker/Dockerfile_codeserver +++ b/docker/Dockerfile_codeserver @@ -11,7 +11,7 @@ ADD Files/requirements-* /tmp/ RUN pip3 install -r /tmp/requirements-codeserver.txt && mkdir -p /Sites/online_test/yaksh_data/output /Sites/online_test/yaksh_data/data -WORKDIR /Sites/online_test/yaksh_data +WORKDIR /Sites/online_test ADD Files/Start-codeserver.sh /Sites -- cgit