-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
16 lines (14 loc) · 848 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Taking as base image a Ubuntu Desktop container with web-based noVNC connection enabled
FROM dorowu/ubuntu-desktop-lxde-vnc
MAINTAINER Rupert Nash (r.nash@epcc.ed.ac.uk)
COPY fix_font_size.patch /tmp
RUN curl -s https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh > /tmp/conda.sh && \
bash /tmp/conda.sh -b -p /opt/conda && \
rm /tmp/conda.sh && \
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
echo ". /opt/conda/etc/profile.d/conda.sh" >> /root/.bashrc && \
echo "conda activate base" >> /root/.bashrc && \
env PATH=/opt/conda/bin:$PATH conda install -y -q -c vmtk anaconda-client vtk itk vmtk && \
apt-get update && apt-get install -y patch && \
patch -d /opt/conda -N -p1 < /tmp/fix_font_size.patch || find . -name '*.rej' -delete && \
rm /tmp/fix_font_size.patch