Skip to content

Commit c0cfb22

Browse files
committed
Add python2.7 standard lib to ubuntu installs
1 parent c52c7f0 commit c0cfb22

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated by Neurodocker version 0.4.2-3-gf7055a1
2-
# Timestamp: 2020-06-29 16:04:34 UTC
2+
# Timestamp: 2020-06-29 18:20:44 UTC
33
#
44
# Thank you for using Neurodocker. If you discover any issues
55
# or ways to improve this software, please submit an issue or
@@ -53,6 +53,7 @@ RUN apt-get update -qq \
5353
libxt-dev \
5454
libxext-dev \
5555
libglu1-mesa \
56+
libpython2.7-stdlib \
5657
&& apt-get clean \
5758
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
5859

@@ -184,7 +185,8 @@ RUN echo '{ \
184185
\n "libx11-dev", \
185186
\n "libxt-dev", \
186187
\n "libxext-dev", \
187-
\n "libglu1-mesa" \
188+
\n "libglu1-mesa", \
189+
\n "libpython2.7-stdlib" \
188190
\n ] \
189191
\n ], \
190192
\n [ \

Singularity

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated by Neurodocker version 0.4.2-3-gf7055a1
2-
# Timestamp: 2020-06-29 16:04:35 UTC
2+
# Timestamp: 2020-06-29 18:20:45 UTC
33
#
44
# Thank you for using Neurodocker. If you discover any issues
55
# or ways to improve this software, please submit an issue or
@@ -47,7 +47,8 @@ apt-get install -y -q --no-install-recommends \
4747
libx11-dev \
4848
libxt-dev \
4949
libxext-dev \
50-
libglu1-mesa
50+
libglu1-mesa \
51+
libpython2.7-stdlib
5152
apt-get clean
5253
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
5354

@@ -151,7 +152,8 @@ echo '{
151152
\n "libx11-dev",
152153
\n "libxt-dev",
153154
\n "libxext-dev",
154-
\n "libglu1-mesa"
155+
\n "libglu1-mesa",
156+
\n "libpython2.7-stdlib"
155157
\n ]
156158
\n ],
157159
\n [

generate_freesurfer_images.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ docker run --rm ${image} generate docker \
4646
--base ubuntu:xenial \
4747
--pkg-manager apt \
4848
--install tcsh bc tar libgomp1 perl-modules wget curl \
49-
libsm-dev libx11-dev libxt-dev libxext-dev libglu1-mesa \
49+
libsm-dev libx11-dev libxt-dev libxext-dev libglu1-mesa libpython2.7-stdlib\
5050
--freesurfer version=6.0.1 install_path=/opt/freesurfer \
5151
--miniconda use_env=base conda_install="python=3 pip pandas setuptools pandas=0.21.0" pip_install="nibabel" \
5252
--run-bash 'curl -sL https://deb.nodesource.com/setup_6.x | bash -' \
@@ -78,7 +78,7 @@ docker run --rm ${image} generate singularity \
7878
--base ubuntu:xenial \
7979
--pkg-manager apt \
8080
--install tcsh bc tar libgomp1 perl-modules wget curl \
81-
libsm-dev libx11-dev libxt-dev libxext-dev libglu1-mesa \
81+
libsm-dev libx11-dev libxt-dev libxext-dev libglu1-mesa libpython2.7-stdlib\
8282
--freesurfer version=6.0.1 install_path=/opt/freesurfer \
8383
--miniconda use_env=base conda_install="python=3 pip pandas setuptools pandas=0.21.0" pip_install="nibabel" \
8484
--run-bash 'curl -sL https://deb.nodesource.com/setup_6.x | bash -' \

0 commit comments

Comments
 (0)