-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hotfix version python in dockerfile (#254)
* macapype_env 0.2 and 0.2-spm * python and pip are already configured and shortcuted in macapype _env
- Loading branch information
1 parent
d7c32f4
commit 9f0e181
Showing
6 changed files
with
84 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
# | ||
# Timestamp: 2020/12/02 18:33:44 UTC | ||
|
||
FROM macatools/macapype_env:v0.1.2-spm | ||
FROM macatools/macapype_env:v0.2-spm | ||
|
||
USER root | ||
|
||
|
@@ -18,17 +18,16 @@ ARG DEBIAN_FRONTEND="noninteractive" | |
MAINTAINER David Meunier "[email protected]" | ||
######################## Python packages | ||
|
||
RUN apt-get update && apt-get install -y git python3-pip libpng-dev libfreetype6-dev libxft-dev libblas-dev liblapack-dev libatlas-base-dev gfortran libxml2-dev libxslt1-dev wget graphviz | ||
RUN apt-get update && apt-get install -y git libpng-dev libfreetype6-dev libxft-dev libblas-dev liblapack-dev libatlas-base-dev gfortran libxml2-dev libxslt1-dev wget graphviz | ||
|
||
RUN apt-get install -y python3-pil python3-pil.imagetk | ||
|
||
|
||
RUN python3 -m pip install -U pip | ||
RUN python3 -m pip install -U pillow | ||
RUN python -m pip install -U pillow | ||
#RUN pip3 install pillow | ||
|
||
#RUN apt-get install libx11-6 libxext6 libxt6 # matlab | ||
RUN pip3 install xvfbwrapper \ | ||
RUN pip install xvfbwrapper \ | ||
psutil \ | ||
numpy \ | ||
scipy \ | ||
|
@@ -57,11 +56,6 @@ RUN pip3 install xvfbwrapper \ | |
|
||
############################################# install macapype | ||
|
||
RUN echo $(which python) && \ | ||
echo $(which python3) && \ | ||
ln -s /usr/bin/python3 /usr/bin/python && \ | ||
ln -s /usr/bin/pip3 /usr/bin/pip | ||
|
||
RUN pip install --pre macapype && python -c "import macapype; print(macapype.__version__)" | ||
|
||
################################################## Finishing | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
# | ||
# Timestamp: 2020/12/02 18:33:44 UTC | ||
|
||
FROM macatools/macapype_env:v0.1.2 | ||
FROM macatools/macapype_env:v0.2 | ||
|
||
USER root | ||
|
||
|
@@ -18,17 +18,16 @@ ARG DEBIAN_FRONTEND="noninteractive" | |
MAINTAINER David Meunier "[email protected]" | ||
######################## Python packages | ||
|
||
RUN apt-get update && apt-get install -y git python3-pip libpng-dev libfreetype6-dev libxft-dev libblas-dev liblapack-dev libatlas-base-dev gfortran libxml2-dev libxslt1-dev wget graphviz | ||
RUN apt-get update && apt-get install -y git libpng-dev libfreetype6-dev libxft-dev libblas-dev liblapack-dev libatlas-base-dev gfortran libxml2-dev libxslt1-dev wget graphviz | ||
|
||
RUN apt-get install -y python3-pil python3-pil.imagetk | ||
|
||
|
||
RUN python3 -m pip install -U pip | ||
RUN python3 -m pip install -U pillow | ||
RUN python -m pip install -U pillow | ||
#RUN pip3 install pillow | ||
|
||
#RUN apt-get install libx11-6 libxext6 libxt6 # matlab | ||
RUN pip3 install xvfbwrapper \ | ||
RUN pip install xvfbwrapper \ | ||
psutil \ | ||
numpy \ | ||
scipy \ | ||
|
@@ -57,11 +56,6 @@ RUN pip3 install xvfbwrapper \ | |
|
||
############################################# install macapype | ||
|
||
RUN echo $(which python) && \ | ||
echo $(which python3) && \ | ||
ln -s /usr/bin/python3 /usr/bin/python && \ | ||
ln -s /usr/bin/pip3 /usr/bin/pip | ||
|
||
RUN pip install --pre macapype && python -c "import macapype; print(macapype.__version__)" | ||
|
||
################################################## Finishing | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,17 +17,16 @@ ARG DEBIAN_FRONTEND="noninteractive" | |
MAINTAINER David Meunier "[email protected]" | ||
######################## Python packages | ||
|
||
RUN apt-get update && apt-get install -y git python3-pip libpng-dev libfreetype6-dev libxft-dev libblas-dev liblapack-dev libatlas-base-dev gfortran libxml2-dev libxslt1-dev wget graphviz | ||
RUN apt-get update && apt-get install -y git libpng-dev libfreetype6-dev libxft-dev libblas-dev liblapack-dev libatlas-base-dev gfortran libxml2-dev libxslt1-dev wget graphviz | ||
|
||
RUN apt-get install -y python3-pil python3-pil.imagetk | ||
|
||
|
||
RUN python3 -m pip install -U pip | ||
RUN python3 -m pip install -U pillow | ||
#RUN pip3 install pillow | ||
RUN python -m pip install -U pillow | ||
#RUN pip install pillow | ||
|
||
#RUN apt-get install libx11-6 libxext6 libxt6 # matlab | ||
RUN pip3 install xvfbwrapper \ | ||
RUN pip install xvfbwrapper \ | ||
psutil \ | ||
numpy \ | ||
scipy \ | ||
|
@@ -55,12 +54,6 @@ RUN pip3 install xvfbwrapper \ | |
brain-slam | ||
|
||
############################################# install macapype | ||
|
||
RUN echo $(which python) && \ | ||
echo $(which python3) && \ | ||
ln -s /usr/bin/python3 /usr/bin/python && \ | ||
ln -s /usr/bin/pip3 /usr/bin/pip | ||
|
||
RUN pip install --no-deps --index-url https://test.pypi.org/simple/ --pre macapype && python -c "import macapype; print(macapype.__version__)" | ||
|
||
################################################## Finishing | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
# | ||
# Timestamp: 2020/12/02 18:33:44 UTC | ||
|
||
FROM macatools/macapype_env:v0.1.2 | ||
FROM macatools/macapype_env:v0.2 | ||
|
||
USER root | ||
|
||
|
@@ -18,17 +18,15 @@ ARG DEBIAN_FRONTEND="noninteractive" | |
MAINTAINER David Meunier "[email protected]" | ||
######################## Python packages | ||
|
||
RUN apt-get update && apt-get install -y git python3-pip libpng-dev libfreetype6-dev libxft-dev libblas-dev liblapack-dev libatlas-base-dev gfortran libxml2-dev libxslt1-dev wget graphviz | ||
RUN apt-get update && apt-get install -y git libpng-dev libfreetype6-dev libxft-dev libblas-dev liblapack-dev libatlas-base-dev gfortran libxml2-dev libxslt1-dev wget graphviz | ||
|
||
RUN apt-get install -y python3-pil python3-pil.imagetk | ||
|
||
|
||
RUN python3 -m pip install -U pip | ||
RUN python3 -m pip install -U pillow | ||
RUN python -m pip install -U pillow | ||
#RUN pip3 install pillow | ||
|
||
#RUN apt-get install libx11-6 libxext6 libxt6 # matlab | ||
RUN pip3 install xvfbwrapper \ | ||
RUN pip install xvfbwrapper \ | ||
psutil \ | ||
numpy \ | ||
scipy \ | ||
|
@@ -57,11 +55,6 @@ RUN pip3 install xvfbwrapper \ | |
|
||
############################################# install macapype | ||
|
||
RUN echo $(which python) && \ | ||
echo $(which python3) && \ | ||
ln -s /usr/bin/python3 /usr/bin/python && \ | ||
ln -s /usr/bin/pip3 /usr/bin/pip | ||
|
||
RUN pip install --no-deps --index-url https://test.pypi.org/simple/ --pre macapype && python -c "import macapype; print(macapype.__version__)" | ||
|
||
################################################## Finishing | ||
|