Skip to content

Commit ab7936a

Browse files
fix Dockerfile and Change to python3
1 parent 0fedaa2 commit ab7936a

File tree

2 files changed

+2
-24
lines changed

2 files changed

+2
-24
lines changed

dockerfiles/Dockerfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ RUN useradd -m -s /bin/bash -G sudo,docker_env PyGeM && \
2525
echo "PyGeM:docker" | chpasswd && \
2626
echo "PyGeM ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
2727

28-
RUN touch /etc/service/syslog-forwarder/down
29-
COPY set-home-permissions.sh /etc/my_init.d/set-home-permissions.sh
30-
RUN chmod +x /etc/my_init.d/set-home-permissions.sh
3128

3229
USER PyGeM
3330
ENV HOME /home/PyGeM
@@ -50,7 +47,7 @@ RUN id PyGeM
5047
RUN chown -R PyGeM:PyGeM $HOME
5148

5249
RUN cd /tmp && \
53-
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh && \
50+
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh && \
5451
chmod +x miniconda.sh && \
5552
bash miniconda.sh -b -p /usr/local/miniconda && \
5653
rm /tmp/*
@@ -63,7 +60,7 @@ RUN hash -r && \
6360
conda config --set always_yes yes --set changeps1 no && \
6461
conda update -q conda
6562
RUN conda info -a && \
66-
conda create --yes -n test python="2.7";
63+
conda create --yes -n test python="3.7";
6764

6865
RUN /bin/bash -c 'source activate test'
6966
# The default sip version has api that is not compatible with qt4.
@@ -82,5 +79,3 @@ RUN cd $HOME && \
8279
python setup.py install
8380

8481
USER PyGeM
85-
86-

dockerfiles/set-home-permissions.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)