Skip to content
Open
Show file tree
Hide file tree
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
27 changes: 27 additions & 0 deletions Dockerfiles/test_suite-debian13
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This Dockerfile is a minimal example for a Debian 13 test suite target container.
FROM debian:13

ENV AUTH_KEYS=/root/.ssh/authorized_keys
ENV DEBIAN_FRONTEND=noninteractive

ARG CLIENT_PUBLIC_KEY
ARG ADDITIONAL_PACKAGES

# install additional packages
RUN true \
&& apt update \
&& apt install -y openssh-server python3 openscap-scanner \
python3-apt $ADDITIONAL_PACKAGES \
&& true

RUN true \
&& ssh-keygen -A \
&& mkdir -p /root/.ssh \
&& printf "%s\n" "$CLIENT_PUBLIC_KEY" >> "$AUTH_KEYS" \
&& chmod og-rw /root/.ssh "$AUTH_KEYS" \
&& sed -i '/session\s\+required\s\+pam_loginuid.so/d' /etc/pam.d/sshd \
&& echo CPE_NAME="cpe:/o:debian:debian_linux:13" >> /etc/os-release \
&& true

RUN mkdir -p /run/sshd
CMD ["/usr/sbin/sshd", "-D"]
3 changes: 3 additions & 0 deletions components/apt.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
groups:
- apt

Check failure on line 2 in components/apt.yml

View workflow job for this annotation

GitHub Actions / Yaml Lint on Changed yaml files

2:1 [indentation] wrong indentation: expected at least 1
name: apt
packages:
- apt

Check failure on line 5 in components/apt.yml

View workflow job for this annotation

GitHub Actions / Yaml Lint on Changed yaml files

5:1 [indentation] wrong indentation: expected at least 1
rules:
- apt_conf_disallow_unauthenticated

Check failure on line 7 in components/apt.yml

View workflow job for this annotation

GitHub Actions / Yaml Lint on Changed yaml files

7:1 [indentation] wrong indentation: expected at least 1
- apt_conf_disable_recommends
- apt_conf_disable_suggests
- apt_disable_weak_dependencies
- apt_sources_list_official
- directory_groupowner_apt_auth_conf_d
Expand All @@ -28,3 +30,4 @@
- file_permissions_apt_auth_conf_d
- file_permissions_apt_gpg_keys
- file_permissions_apt_sources_list_d

Check warning on line 33 in components/apt.yml

View workflow job for this annotation

GitHub Actions / Yaml Lint on Changed yaml files

33:1 [empty-lines] too many blank lines (1 > 0)
Loading
Loading