From f251adea39d66574bcc128421212d632538df89b Mon Sep 17 00:00:00 2001 From: Jun Feng Date: Thu, 28 Mar 2024 18:04:11 +0800 Subject: [PATCH] fix --- docker/Dockerfile | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 6615dc6..e491d22 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,9 +1,18 @@ -FROM openanolis/anolisos:8.8 as builder +FROM openanolis/anolisos:8.8 # build nsjail RUN yum install -y \ - wget autoconf bison flex git protobuf-devel libnl3-devel \ - libtool make pkg-config protobuf-compiler \ + autoconf \ + bison \ + flex \ + gcc-c++ \ + git \ + protobuf-devel \ + libnl3-devel \ + libtool \ + make \ + pkg-config \ + protobuf-compiler \ && yum clean all RUN cd / && git clone https://github.com/google/nsjail.git \