File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
tensorflow_serving/tools/docker Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -87,11 +87,12 @@ RUN apt-get install -y --no-install-recommends \
8787
8888
8989# Install python 3.9.
90- RUN apt-get update && apt-get install -y --no-install-recommends gpg-agent dirmngr && \
90+ RUN sed -i 's/$/ universe/' /etc/apt/sources.list && \
91+ apt-get update && apt-get install -y --no-install-recommends gpg-agent dirmngr && \
9192 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F23C5A6CF475977595C89F51BA6932366A755776 && \
92- echo "deb http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal main" > /etc/apt/sources.list.d/deadsnakes-ppa.list && \
93+ echo "deb http://ppa.launchpad.net/deadsnakes/ppa/ubuntu jammy main" > /etc/apt/sources.list.d/deadsnakes-ppa.list && \
9394 apt-get update && apt-get install -y \
94- python3.9 python3.9-dev python3-pip python3.9-venv python3-distutils python3-distutils-extra python3-dev && \
95+ python3.9 python3.9-dev python3-pip python3.9-venv python3-distutils python3-distutils-extra && \
9596 rm -rf /var/lib/apt/lists/* && \
9697 python3.9 -m pip install pip --upgrade && \
9798 update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 0
You can’t perform that action at this time.
0 commit comments