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

Update Python image on Dockerhub #341

Open
ralienpp opened this issue Jan 14, 2025 · 5 comments
Open

Update Python image on Dockerhub #341

ralienpp opened this issue Jan 14, 2025 · 5 comments

Comments

@ralienpp
Copy link

I use OQS in a project with Python and I was wondering whether the image could be updated (the page says it is discontinued, but encourages visitors to raise this point here).

Right now we have a CI pipeline that builds it in accordance with our needs, but it would simplify matters if we could use an image provided by the development team.

@SWilson4
Copy link
Member

Hi @ralienpp, thanks for the question. Does your build rely on the OpenSSL 1.1.1 fork or the OpenSSL 3 provider?

@ralienpp
Copy link
Author

We rely on the OpenSSL 3 provider.

@baentsch
Copy link
Member

Good to know there is some interest in this. Would you be interested contributing your build as an updated Dockerfile, e.g./i.e., here? But of course, we could also add it as another demo...

@ralienpp
Copy link
Author

I think there's nothing wrong with what you already have. My wish is to update the image on Dockerhub, using the recipe you already have, but with a new version of liboqs and liboqs-python.

Our Dockerfile doesn't use Alpine, but Ubuntu; and it is much simpler:

FROM ubuntu:22.04

RUN apt-get update && \
    apt-get install -y python3 python3-pip openssl libssl-dev cmake git && \
    apt-get clean

# Build and install liboqs-python
RUN git clone --depth=1 https://github.com/open-quantum-safe/liboqs-python && \
    cd liboqs-python && \
    pip install . 

@baentsch
Copy link
Member

there's nothing wrong with what you already have

If you're referring to https://github.com/open-quantum-safe/liboqs-python/blob/main/docker/Dockerfile (?) there is something wrong imo (outdated, rather): It's not based on oqsprovider but the discontinued oqs-openssl111 fork.

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

3 participants