Commit 05d6ae4d authored by Peter Parente's avatar Peter Parente

Leave setups tools installed for pip

(c) Copyright IBM Corp. 2016
parent ec5516de
...@@ -8,6 +8,7 @@ USER root ...@@ -8,6 +8,7 @@ USER root
# Install all OS dependencies for fully functional notebook server # Install all OS dependencies for fully functional notebook server
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -yq --no-install-recommends \ RUN apt-get update && apt-get install -yq --no-install-recommends \
python3-setuptools \
python3-zmq \ python3-zmq \
&& apt-get clean && apt-get clean
...@@ -29,14 +30,12 @@ RUN useradd -m -s /bin/bash -N -u $KG_UID $KG_USER ...@@ -29,14 +30,12 @@ RUN useradd -m -s /bin/bash -N -u $KG_UID $KG_USER
RUN apt-get update && \ RUN apt-get update && \
apt-get install -yq --no-install-recommends \ apt-get install -yq --no-install-recommends \
build-essential \ build-essential \
python3-dev \ python3-dev && \
python3-setuptools && \
easy_install3 pip && \ easy_install3 pip && \
pip install jupyter_kernel_gateway==0.2.0 && \ pip install jupyter_kernel_gateway==0.2.0 && \
apt-get remove --purge -y \ apt-get remove --purge -y \
build-essential \ build-essential \
python3-dev \ python3-dev && \
python3-setuptools && \
apt-get autoremove -y && \ apt-get autoremove -y && \
apt-get clean apt-get clean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment