Shihgian Lee
06/20/2024, 4:23 PM1.1.11. This morning, when I containerize the bento, I receive the following error:
> #12 112.7 For nightly builds, see ppa:deadsnakes/nightly https://launchpad.net/~deadsnakes/+archive/ubuntu/nightly
> #12 112.7 More info: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
> #12 142.7 Error: retrieving gpg key timed out.
> #12 ERROR: process "/bin/sh -c set -eux && apt-get install -y --no-install-recommends --allow-remove-essential software-properties-common && add-apt-repository ppa:deadsnakes/ppa && apt-get update -y && apt-get install -y --no-install-recommends --allow-remove-essential curl python3.9 python3.9-dev python3.9-distutils" did not complete successfully: exit code: 1
The Dockerfile was generated by bentoml. Anyone receives the error when retrieving gpg key?Shihgian Lee
06/20/2024, 4:49 PM21.79 + add-apt-repository ppa:deadsnakes/ppa
227.5 Cannot add PPA: 'ppa:~deadsnakes/ubuntu/ppa'.
227.5 The team named '~deadsnakes' has no PPA named 'ubuntu/ppa'
227.5 Please choose from the following available PPAs:
227.5 * 'nightly': nightly python builds
227.5 * 'ppa': New Python Versions
------
Dockerfile:28
--------------------
27 |
28 | >>> RUN --mount=type=cache,target=/var/lib/apt --mount=type=cache,target=/var/cache/apt \
29 | >>> set -eux && \
30 | >>> apt-get install -y --no-install-recommends --allow-remove-essential software-properties-common && \
31 | >>> # add deadsnakes ppa to install python
32 | >>> add-apt-repository ppa:deadsnakes/ppa && \
33 | >>> apt-get update -y && \
34 | >>> apt-get install -y --no-install-recommends --allow-remove-essential curl python3.9 python3.9-dev python3.9-distutils
35 |
--------------------
ERROR: failed to solve: process "/bin/sh -c set -eux && apt-get install -y --no-install-recommends --allow-remove-essential software-properties-common && add-apt-repository ppa:deadsnakes/ppa && apt-get update -y && apt-get install -y --no-install-recommends --allow-remove-essential curl python3.9 python3.9-dev python3.9-distutils" did not complete successfully: exit code: 1Shihgian Lee
06/20/2024, 5:05 PMShihgian Lee
06/20/2024, 6:09 PMShihgian Lee
06/20/2024, 6:17 PMChaoyu
06/20/2024, 7:14 PMShihgian Lee
06/20/2024, 8:10 PM