Skip to content
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

Building the Dockerfile generates errors #106

Open
esola-thomas opened this issue Feb 10, 2025 · 0 comments · May be fixed by #107
Open

Building the Dockerfile generates errors #106

esola-thomas opened this issue Feb 10, 2025 · 0 comments · May be fixed by #107

Comments

@esola-thomas
Copy link

The current Dockerfile https://github.com/open-quantum-safe/liboqs-python/blob/60a40a0fc67666afc1bd4400628d50dfd5aaa6b0/docker/Dockerfile builds with errors:

ERROR [stage-1 5/9] RUN cd /opt/liboqs-python && python3 setup.py install 0.4s

[stage-1 5/9] RUN cd /opt/liboqs-python && python3 setup.py install:
0.342 python3: can't open file '/opt/liboqs-python/setup.py': [Errno 2] No such file or directory


2 warnings found (use docker --debug to expand):

  • FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 9)
  • LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 16)
    Dockerfile:53

51 |
52 | # Install liboqs-python
53 | >>> RUN cd /opt/liboqs-python && python3 setup.py install
54 |
55 | # Enable a normal user

ERROR: failed to solve: process "/bin/sh -c cd /opt/liboqs-python && python3 setup.py install" did not complete successfully: exit code: 2

2 warnings found (use docker --debug to expand):

  • FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 13)
  • LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 20)
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

Successfully merging a pull request may close this issue.

1 participant