From 7d8f085d405956998312a05b6e04fabdddd273a4 Mon Sep 17 00:00:00 2001 From: SamYuan1990 Date: Sun, 8 Jun 2025 18:27:00 +0800 Subject: [PATCH] try to install images/baseos/Dockerfile in base image file Signed-off-by: SamYuan1990 --- images/baseos/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/images/baseos/Dockerfile b/images/baseos/Dockerfile index b09304cf1fd..686fb372814 100644 --- a/images/baseos/Dockerfile +++ b/images/baseos/Dockerfile @@ -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