Skip to content

apt-key is deprecated (Docker building) #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
veredCyto opened this issue May 18, 2023 · 1 comment
Open

apt-key is deprecated (Docker building) #106

veredCyto opened this issue May 18, 2023 · 1 comment

Comments

@veredCyto
Copy link

Hi, while trying to build the docker image for CKG i got an error messege:
"ERROR: failed to solve: process "/bin/sh -c apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 51716619E084DAB9" did not complete successfully: exit code: 2"
I think this is because apt-key command is deprecated.
Can you update the DockerFile with an updated command?
Thanks.

@KastanDay
Copy link

I got a slightly different error when building the Dockerfile:

$ docker build -t docker-ckg:latest .

 => ERROR [11/78] RUN python3 get-pip.py                                                                                                                      0.3s
------
 > [11/78] RUN python3 get-pip.py:
0.241 ERROR: This script does not work on Python 3.7. The minimum supported Python version is 3.8. Please use https://bootstrap.pypa.io/pip/3.7/get-pip.py instead.
------
Dockerfile:50
--------------------
  48 |     ## pip upgrade
  49 |     RUN wget https://bootstrap.pypa.io/get-pip.py
  50 | >>> RUN python3 get-pip.py
  51 |     RUN pip3 install --upgrade pip
  52 |     RUN pip3 install setuptools
--------------------
ERROR: failed to solve: process "/bin/sh -c python3 get-pip.py" did not complete successfully: exit code: 1

Anyone have any advice? The CKG docs say python 3.7 is required, but the docker build script is failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants