Pin pip version and fix apt-get
This commit is contained in:
parent
5681c179ef
commit
a260612a4c
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user