Skip to content

Commit

Permalink
Add python2.7 standard lib to ubuntu installs
Browse files Browse the repository at this point in the history
  • Loading branch information
Shotgunosine committed Jun 29, 2020
1 parent c52c7f0 commit c0cfb22
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Generated by Neurodocker version 0.4.2-3-gf7055a1
# Timestamp: 2020-06-29 16:04:34 UTC
# Timestamp: 2020-06-29 18:20:44 UTC
#
# Thank you for using Neurodocker. If you discover any issues
# or ways to improve this software, please submit an issue or
Expand Down Expand Up @@ -53,6 +53,7 @@ RUN apt-get update -qq \
libxt-dev \
libxext-dev \
libglu1-mesa \
libpython2.7-stdlib \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

Expand Down Expand Up @@ -184,7 +185,8 @@ RUN echo '{ \
\n "libx11-dev", \
\n "libxt-dev", \
\n "libxext-dev", \
\n "libglu1-mesa" \
\n "libglu1-mesa", \
\n "libpython2.7-stdlib" \
\n ] \
\n ], \
\n [ \
Expand Down
8 changes: 5 additions & 3 deletions Singularity
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Generated by Neurodocker version 0.4.2-3-gf7055a1
# Timestamp: 2020-06-29 16:04:35 UTC
# Timestamp: 2020-06-29 18:20:45 UTC
#
# Thank you for using Neurodocker. If you discover any issues
# or ways to improve this software, please submit an issue or
Expand Down Expand Up @@ -47,7 +47,8 @@ apt-get install -y -q --no-install-recommends \
libx11-dev \
libxt-dev \
libxext-dev \
libglu1-mesa
libglu1-mesa \
libpython2.7-stdlib
apt-get clean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

Expand Down Expand Up @@ -151,7 +152,8 @@ echo '{
\n "libx11-dev",
\n "libxt-dev",
\n "libxext-dev",
\n "libglu1-mesa"
\n "libglu1-mesa",
\n "libpython2.7-stdlib"
\n ]
\n ],
\n [
Expand Down
4 changes: 2 additions & 2 deletions generate_freesurfer_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ docker run --rm ${image} generate docker \
--base ubuntu:xenial \
--pkg-manager apt \
--install tcsh bc tar libgomp1 perl-modules wget curl \
libsm-dev libx11-dev libxt-dev libxext-dev libglu1-mesa \
libsm-dev libx11-dev libxt-dev libxext-dev libglu1-mesa libpython2.7-stdlib\
--freesurfer version=6.0.1 install_path=/opt/freesurfer \
--miniconda use_env=base conda_install="python=3 pip pandas setuptools pandas=0.21.0" pip_install="nibabel" \
--run-bash 'curl -sL https://deb.nodesource.com/setup_6.x | bash -' \
Expand Down Expand Up @@ -78,7 +78,7 @@ docker run --rm ${image} generate singularity \
--base ubuntu:xenial \
--pkg-manager apt \
--install tcsh bc tar libgomp1 perl-modules wget curl \
libsm-dev libx11-dev libxt-dev libxext-dev libglu1-mesa \
libsm-dev libx11-dev libxt-dev libxext-dev libglu1-mesa libpython2.7-stdlib\
--freesurfer version=6.0.1 install_path=/opt/freesurfer \
--miniconda use_env=base conda_install="python=3 pip pandas setuptools pandas=0.21.0" pip_install="nibabel" \
--run-bash 'curl -sL https://deb.nodesource.com/setup_6.x | bash -' \
Expand Down

0 comments on commit c0cfb22

Please sign in to comment.