Skip to content

Update Python image on Dockerhub #341

Open
@ralienpp

Description

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.

Activity

SWilson4

SWilson4 commented on Jan 14, 2025

@SWilson4
Member

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

ralienpp

ralienpp commented on Jan 15, 2025

@ralienpp
Author

We rely on the OpenSSL 3 provider.

baentsch

baentsch commented on Jan 15, 2025

@baentsch
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

ralienpp commented on Jan 17, 2025

@ralienpp
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

baentsch commented on Jan 17, 2025

@baentsch
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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Update Python image on Dockerhub · Issue #341 · open-quantum-safe/oqs-demos