Skip to content

Commit 4acbca0

Browse files
committed
Add universe repository
1 parent 1b0c3f3 commit 4acbca0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tensorflow_serving/tools/docker/Dockerfile.devel-gpu

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)