Skip to content

Commit 4cec1d6

Browse files
mindlaceiquintero
authored andcommitted
restore python-dev package in image (#173)
Several versions of the tensorflow container have had python-dev, but this was changed to 'python' in recent builds. This restores python-dev, which allows python package requirements that require compilation to function. Signed-off-by: Ethan Fremen <[email protected]>
1 parent ba46b92 commit 4cec1d6

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

docker/1.11.0/final/py2/Dockerfile.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARG framework_support_installable=sagemaker_tensorflow_container-1.0.0.tar.gz
99

1010
RUN apt-get update && apt-get install -y --no-install-recommends \
1111
ca-certificates \
12-
python \
12+
python-dev \
1313
curl \
1414
nginx \
1515
&& rm -rf /var/lib/apt/lists/*

docker/1.11.0/final/py2/Dockerfile.gpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2222
libcudnn7=${CUDNN_VERSION} \
2323
libnccl2=${NCCL_VERSION} \
2424
libgomp1 \
25-
python \
25+
python-dev \
2626
curl \
2727
nginx \
2828
&& \

docker/1.12.0/final/py2/Dockerfile.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARG framework_support_installable=sagemaker_tensorflow_container-1.0.0.tar.gz
99

1010
RUN apt-get update && apt-get install -y --no-install-recommends \
1111
ca-certificates \
12-
python \
12+
python-dev \
1313
curl \
1414
nginx \
1515
&& rm -rf /var/lib/apt/lists/*

docker/1.12.0/final/py2/Dockerfile.ei

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARG tensorflow_model_server
99

1010
RUN apt-get update && apt-get install -y --no-install-recommends \
1111
ca-certificates \
12-
python \
12+
python-dev \
1313
curl \
1414
nginx \
1515
&& rm -rf /var/lib/apt/lists/*

docker/1.12.0/final/py2/Dockerfile.gpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2222
libcudnn7=${CUDNN_VERSION} \
2323
libnccl2=${NCCL_VERSION} \
2424
libgomp1 \
25-
python \
25+
python-dev \
2626
curl \
2727
nginx \
2828
&& \

docker/1.4.1/base/Dockerfile.gpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ RUN git apply --verbose /patches/*.patch
7777

7878

7979
# Configure the build for our CUDA configuration.
80-
ENV CI_BUILD_PYTHON=python \
80+
ENV CI_BUILD_PYTHON=python-dev \
8181
LD_LIBRARY_PATH=/usr/local/cuda/extras/CUPTI/lib64:$LD_LIBRARY_PATH \
8282
TF_NEED_CUDA=1 \
8383
TF_CUDA_VERSION=8.0 \

0 commit comments

Comments
 (0)