Pin pip version and fix apt-get

This commit is contained in:
Austin Anderson 2020-12-09 15:16:22 -08:00
parent 5681c179ef
commit a260612a4c
22 changed files with 32 additions and 54 deletions

View File

@ -33,7 +33,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary
@ -60,9 +60,7 @@ RUN jupyter serverextension enable --py jupyter_http_over_ws
RUN mkdir -p /tf/tensorflow-tutorials && chmod -R a+rwx /tf/
RUN mkdir /.local && chmod a+rwx /.local
RUN apt-get install -y --no-install-recommends wget
# some examples require git to fetch dependencies
RUN apt-get install -y --no-install-recommends git
RUN apt-get update && apt-get install -y --no-install-recommends wget git
WORKDIR /tf/tensorflow-tutorials
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/classification.ipynb
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/overfit_and_underfit.ipynb

View File

@ -33,7 +33,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary

View File

@ -62,7 +62,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary
@ -111,9 +111,7 @@ RUN jupyter serverextension enable --py jupyter_http_over_ws
RUN mkdir -p /tf/tensorflow-tutorials && chmod -R a+rwx /tf/
RUN mkdir /.local && chmod a+rwx /.local
RUN apt-get install -y --no-install-recommends wget
# some examples require git to fetch dependencies
RUN apt-get install -y --no-install-recommends git
RUN apt-get update && apt-get install -y --no-install-recommends wget git
WORKDIR /tf/tensorflow-tutorials
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/classification.ipynb
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/overfit_and_underfit.ipynb

View File

@ -62,7 +62,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary

View File

@ -104,7 +104,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary
@ -153,9 +153,7 @@ RUN jupyter serverextension enable --py jupyter_http_over_ws
RUN mkdir -p /tf/tensorflow-tutorials && chmod -R a+rwx /tf/
RUN mkdir /.local && chmod a+rwx /.local
RUN apt-get install -y --no-install-recommends wget
# some examples require git to fetch dependencies
RUN apt-get install -y --no-install-recommends git
RUN apt-get update && apt-get install -y --no-install-recommends wget git
WORKDIR /tf/tensorflow-tutorials
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/classification.ipynb
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/overfit_and_underfit.ipynb

View File

@ -104,7 +104,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary

View File

@ -82,7 +82,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary
@ -109,9 +109,7 @@ RUN jupyter serverextension enable --py jupyter_http_over_ws
RUN mkdir -p /tf/tensorflow-tutorials && chmod -R a+rwx /tf/
RUN mkdir /.local && chmod a+rwx /.local
RUN apt-get install -y --no-install-recommends wget
# some examples require git to fetch dependencies
RUN apt-get install -y --no-install-recommends git
RUN apt-get update && apt-get install -y --no-install-recommends wget git
WORKDIR /tf/tensorflow-tutorials
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/classification.ipynb
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/overfit_and_underfit.ipynb

View File

@ -82,7 +82,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary

View File

@ -62,7 +62,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary
@ -163,9 +163,7 @@ RUN jupyter serverextension enable --py jupyter_http_over_ws
RUN mkdir -p /tf/tensorflow-tutorials && chmod -R a+rwx /tf/
RUN mkdir /.local && chmod a+rwx /.local
RUN apt-get install -y --no-install-recommends wget
# some examples require git to fetch dependencies
RUN apt-get install -y --no-install-recommends git
RUN apt-get update && apt-get install -y --no-install-recommends wget git
WORKDIR /tf/tensorflow-tutorials
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/classification.ipynb
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/overfit_and_underfit.ipynb

View File

@ -62,7 +62,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary

View File

@ -33,7 +33,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary
@ -112,9 +112,7 @@ RUN jupyter serverextension enable --py jupyter_http_over_ws
RUN mkdir -p /tf/tensorflow-tutorials && chmod -R a+rwx /tf/
RUN mkdir /.local && chmod a+rwx /.local
RUN apt-get install -y --no-install-recommends wget
# some examples require git to fetch dependencies
RUN apt-get install -y --no-install-recommends git
RUN apt-get update && apt-get install -y --no-install-recommends wget git
WORKDIR /tf/tensorflow-tutorials
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/classification.ipynb
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/overfit_and_underfit.ipynb

View File

@ -33,7 +33,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary

View File

@ -33,7 +33,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary
@ -78,9 +78,7 @@ RUN jupyter serverextension enable --py jupyter_http_over_ws
RUN mkdir -p /tf/tensorflow-tutorials && chmod -R a+rwx /tf/
RUN mkdir /.local && chmod a+rwx /.local
RUN apt-get install -y --no-install-recommends wget
# some examples require git to fetch dependencies
RUN apt-get install -y --no-install-recommends git
RUN apt-get update && apt-get install -y --no-install-recommends wget git
WORKDIR /tf/tensorflow-tutorials
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/classification.ipynb
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/overfit_and_underfit.ipynb

View File

@ -33,7 +33,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary

View File

@ -62,7 +62,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary
@ -112,9 +112,7 @@ RUN jupyter serverextension enable --py jupyter_http_over_ws
RUN mkdir -p /tf/tensorflow-tutorials && chmod -R a+rwx /tf/
RUN mkdir /.local && chmod a+rwx /.local
RUN apt-get install -y --no-install-recommends wget
# some examples require git to fetch dependencies
RUN apt-get install -y --no-install-recommends git
RUN apt-get update && apt-get install -y --no-install-recommends wget git
WORKDIR /tf/tensorflow-tutorials
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/classification.ipynb
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/overfit_and_underfit.ipynb

View File

@ -62,7 +62,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary

View File

@ -104,7 +104,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary
@ -154,9 +154,7 @@ RUN jupyter serverextension enable --py jupyter_http_over_ws
RUN mkdir -p /tf/tensorflow-tutorials && chmod -R a+rwx /tf/
RUN mkdir /.local && chmod a+rwx /.local
RUN apt-get install -y --no-install-recommends wget
# some examples require git to fetch dependencies
RUN apt-get install -y --no-install-recommends git
RUN apt-get update && apt-get install -y --no-install-recommends wget git
WORKDIR /tf/tensorflow-tutorials
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/classification.ipynb
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/overfit_and_underfit.ipynb

View File

@ -104,7 +104,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary

View File

@ -82,7 +82,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary
@ -127,9 +127,7 @@ RUN jupyter serverextension enable --py jupyter_http_over_ws
RUN mkdir -p /tf/tensorflow-tutorials && chmod -R a+rwx /tf/
RUN mkdir /.local && chmod a+rwx /.local
RUN apt-get install -y --no-install-recommends wget
# some examples require git to fetch dependencies
RUN apt-get install -y --no-install-recommends git
RUN apt-get update && apt-get install -y --no-install-recommends wget git
WORKDIR /tf/tensorflow-tutorials
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/classification.ipynb
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/overfit_and_underfit.ipynb

View File

@ -82,7 +82,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary

View File

@ -5,9 +5,7 @@ RUN jupyter serverextension enable --py jupyter_http_over_ws
RUN mkdir -p /tf/tensorflow-tutorials && chmod -R a+rwx /tf/
RUN mkdir /.local && chmod a+rwx /.local
RUN apt-get install -y --no-install-recommends wget
# some examples require git to fetch dependencies
RUN apt-get install -y --no-install-recommends git
RUN apt-get update && apt-get install -y --no-install-recommends wget git
WORKDIR /tf/tensorflow-tutorials
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/classification.ipynb
RUN wget https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/keras/overfit_and_underfit.ipynb

View File

@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y \
python3-pip
RUN python3 -m pip --no-cache-dir install --upgrade \
pip \
"pip<20.3" \
setuptools
# Some TF tools expect a "python" binary