From ca5d1495a1e300a6f98f003f481fdb9ffa5b69c9 Mon Sep 17 00:00:00 2001 From: Dilawar Singh <dilawars@ncbs.res.in> Date: Wed, 31 Jan 2018 17:04:55 +0530 Subject: [PATCH] Dockerfile with xterm. --- Dockerfile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9cb465a3..05cc4c73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,11 @@ MAINTAINER Dilawar Singh <dilawar.s.rajput@gmail.com> # If you are behind proxy, uncomment the following lines with appropriate # values. -# ENV http_proxy http://proxy.ncbs.res.in:3128 -# ENV https_proxy http://proxy.ncbs.res.in:3128 +ENV http_proxy http://proxy.ncbs.res.in:3128 +ENV https_proxy http://proxy.ncbs.res.in:3128 RUN apt-get update -RUN apt-get install -y wget +RUN apt-get install -y wget x11-apps xorg RUN apt-get install -y python-matplotlib python-numpy RUN apt-get install -y python-pip python-networkx graphviz python-scipy RUN apt-get install -y python-pygraphviz @@ -18,3 +18,9 @@ RUN wget -nv https://download.opensuse.org/repositories/home:moose/xUbuntu_16.04 RUN apt-key add - < /tmp/Release.key RUN sh -c "echo 'deb http://download.opensuse.org/repositories/home:/moose/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/moose.list" RUN apt-get update && apt-get install -y --allow-unauthenticated moose + +RUN adduser --disabled-password --gecos '' mooser + +USER mooser +ENV HOME /home/mooser +CMD /usr/bin/xterm -- GitLab