Skip to content

try to install open-quantum-safe in base image file #5232

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions images/baseos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ FROM ubuntu:${UBUNTU_VER} AS base
RUN apt update && apt install -y \
tzdata

RUN apt-get -y update && \
apt-get install -y build-essential git cmake libssl-dev golang

# Install liboqs
RUN cmake -S liboqs -B liboqs/build -DBUILD_SHARED_LIBS=ON && \
cmake --build liboqs/build --parallel 4 && \
cmake --build liboqs/build --target install

RUN groupadd --gid 500 chaincode
RUN useradd -c "" -u 500 -g 500 -d /home/chaincode -m chaincode

Expand Down
Loading