Skip to content

Commit 3989614

Browse files
committed
Test
1 parent b87dd3b commit 3989614

File tree

2 files changed

+37
-10
lines changed

2 files changed

+37
-10
lines changed

.gitpod.Dockerfile

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
FROM gitpod/workspace-full
22
USER gitpod
33
RUN sudo apt-get update -q && \
4-
sudo apt-get install -yq \
4+
sudo apt-get install -yq \
55
cmake \
66
ninja-build \
7-
libopenscap8 \
87
libxml2-utils \
98
expat \
109
xsltproc \
@@ -15,11 +14,37 @@ RUN sudo apt-get update -q && \
1514
python3-github \
1615
bats \
1716
python3-pytest \
18-
python3-pytest-cov
17+
python3-pytest-cov \
18+
libdbus-1-dev libdbus-glib-1-dev libcurl4-openssl-dev \
19+
libgcrypt20-dev libselinux1-dev libxslt1-dev libgconf2-dev libacl1-dev libblkid-dev \
20+
libcap-dev libxml2-dev libldap2-dev libpcre3-dev python3-dev swig libxml-parser-perl \
21+
libxml-xpath-perl libperl-dev libbz2-dev librpm-dev g++ libapt-pkg-dev libyaml-dev \
22+
libxmlsec1-dev libxmlsec1-openssl \
23+
shellcheck \
24+
bats \
25+
yamllint
26+
27+
RUN pip install docker ansible json2html
28+
29+
# install requirements for Sphinx packages (Developer Documentation)
30+
RUN pip install docutils==0.17.1 \
31+
commonmark \
32+
recommonmark>=0.6.0 \
33+
sphinx \
34+
sphinx-rtd-theme \
35+
git+git://github.com/ggbecker/sphinxcontrib.jinjadomain.git#egg=sphinxcontrib-jinjadomain
36+
37+
RUN wget https://github.com/OpenSCAP/openscap/releases/download/1.3.6/openscap-1.3.6.tar.gz
38+
39+
RUN tar -zxvf openscap-1.3.6.tar.gz
1940

20-
RUN pip install docker ansible
41+
RUN cd openscap-1.3.6 && \
42+
mkdir -p build && cd build && \
43+
cmake .. && \
44+
sudo make DESTDIR=/usr install && \
45+
cd ../..
2146

22-
RUN wget https://raw.githubusercontent.com/OpenSCAP/openscap/maint-1.3/utils/oscap-ssh && \
23-
sudo chmod 755 oscap-ssh && \
24-
sudo mv -v oscap-ssh /usr/local/bin && \
25-
sudo chown root:root /usr/local/bin/oscap-ssh
47+
# RUN wget https://raw.githubusercontent.com/OpenSCAP/openscap/maint-1.3/utils/oscap-ssh && \
48+
# sudo chmod 755 oscap-ssh && \
49+
# sudo mv -v oscap-ssh /usr/local/bin && \
50+
# sudo chown root:root /usr/local/bin/oscap-ssh

.gitpod.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ image:
44

55
vscode:
66
extensions:
7-
- ggbecker.content-navigator
8-
- ms-vscode.live-server
7+
- ggbecker.content-navigator # useful extension for the ComplianceAsCode/content project
8+
- ms-vscode.live-server # HTML preview
99
- rogalmic.bash-debug # support bashdb debug configurations
10+
- eamodio.gitlens # cool git extension with a bunch of extra features
11+
- twxs.cmake # support to CMakeLists.txt syntax highlighting and more
1012

1113
tasks:
1214
- name: Prepare Env

0 commit comments

Comments
 (0)