first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled

This commit is contained in:
2025-09-06 16:08:15 +08:00
commit 63285f61aa
2624 changed files with 88491 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
FROM python:3.7
RUN set -ex \
&& apt-get update \
&& apt-get install -y --no-install-recommends dumb-init openssh-server cron \
&& pip3 install --no-cache-dir salt==2019.2.3 pycryptodomex==3.9.7 CherryPy==18.6.0 pyOpenSSL==19.1.0 msgpack==0.6.2 \
&& rm -rf /var/lib/apt/lists/*
RUN set -ex \
&& mkdir -p /etc/pki /etc/salt/pki /etc/salt/minion.d/ /etc/salt/master.d /etc/salt/proxy.d /var/cache/salt /var/log/salt /var/run/salt /run/sshd /root/.ssh
COPY saltinit.py /usr/local/bin/saltinit
ENTRYPOINT ["/usr/bin/dumb-init"]
CMD ["/usr/local/bin/saltinit"]
EXPOSE 22 4505 4506 8000
RUN salt-run salt.cmd tls.create_self_signed_cert