liboqs-python icon indicating copy to clipboard operation
liboqs-python copied to clipboard

Building the Dockerfile generates errors

Open esola-thomas opened this issue 1 year ago • 0 comments

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)

esola-thomas avatar Feb 10 '25 01:02 esola-thomas