conteneurs-formation/debian13-ssh-apache2 (sha256:bcd0bb8d1c048d684ea159d776428c9a69f4ebb00f66b25b87552dc2ba81165e)

Published 2026-08-03 08:38:54 +00:00 by romain in romain/Conteneurs-Formation

Installation

docker pull forge.rdr-it.com/romain/conteneurs-formation/debian13-ssh-apache2@sha256:bcd0bb8d1c048d684ea159d776428c9a69f4ebb00f66b25b87552dc2ba81165e
sha256:bcd0bb8d1c048d684ea159d776428c9a69f4ebb00f66b25b87552dc2ba81165e

Image layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1783900800'
ENV DEBIAN_FRONTEND=noninteractive ROOT_PASSWORD=root
RUN /bin/sh -c apt-get update -qq && apt-get install -y -qq openssh-server sudo curl wget vim nano net-tools iputils-ping python3 && rm -rf /var/lib/apt/lists/* && mkdir -p /run/sshd && echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config && echo 'PasswordAuthentication yes' >> /etc/ssh/sshd_config && echo 'root:root' | chpasswd # buildkit
RUN /bin/sh -c apt-get update -qq && apt-get install -y -qq apache2 && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c a2enmod rewrite proxy proxy_http headers && echo 'ServerName webserver' >> /etc/apache2/apache2.conf # buildkit
EXPOSE [22/tcp]
EXPOSE [80/tcp]
COPY entrypoint.sh /usr/local/bin/entrypoint.sh # buildkit
RUN /bin/sh -c chmod +x /usr/local/bin/entrypoint.sh # buildkit
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["/usr/sbin/sshd" "-D" "-e"]
Details
Container
2026-08-03 08:38:54 +00:00
0
OCI / Docker
linux/amd64
90 MiB
Versions (1) View all
latest 2026-08-03