From 0290ea6eb0bc2d37c39b64f4bc78e2bd33d548dc Mon Sep 17 00:00:00 2001 From: YuQing Date: Tue, 10 Jan 2023 17:33:13 +0800 Subject: [PATCH] Add the anolis 8 Dockerfile. Signed-off-by: YuQing --- Dockerfiles/anolis8 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfiles/anolis8 diff --git a/Dockerfiles/anolis8 b/Dockerfiles/anolis8 new file mode 100644 index 0000000..c4a98b0 --- /dev/null +++ b/Dockerfiles/anolis8 @@ -0,0 +1,11 @@ +FROM openanolis/anolisos:8.6-x86_64 + +WORKDIR /root + +RUN yum install -y make cmake python3 python3-yaml python3-jinja2 python3-setuptools openscap-utils openscap-scanner git +RUN git clone https://github.com/ComplianceAsCode/content.git \ + && cd content/build \ + && cmake -DSSG_PRODUCT_DEFAULT:BOOLEAN=FALSE -DSSG_PRODUCT_ANOLIS8:BOOLEAN=TRUE ../ \ + && make -j $(nproc) \ + && make install \ + && rm -rf /root/content \ No newline at end of file -- Gitee