docker-devops-terminal/cache (8403fefcd5cbe2411a1f0b450d641814622a14ff1c67eafeb9a06e76e48235d8)

Published 2024-12-31 18:50:16 +01:00 by RogerSik

Installation

docker pull gitea.sikorski.cloud/rogersik/docker-devops-terminal/cache:8403fefcd5cbe2411a1f0b450d641814622a14ff1c67eafeb9a06e76e48235d8
sha256:a112ae2d4a7ba6824270336297178abe1de79dfd1d34bd3e419d84ca61123d92

Image Layers

RUN apt-get update && apt-get install -y iproute2 iputils-ping openssh-server telnet && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && mkdir -p /run/sshd && chmod 755 /run/sshd && if ! id -u "$SSH_USERNAME" > /dev/null 2>&1; then useradd -ms /bin/bash "$SSH_USERNAME"; fi && chown -R "$SSH_USERNAME":"$SSH_USERNAME" /home/"$SSH_USERNAME" && chmod 755 /home/"$SSH_USERNAME" && mkdir -p /home/"$SSH_USERNAME"/.ssh && chown "$SSH_USERNAME":"$SSH_USERNAME" /home/"$SSH_USERNAME"/.ssh && echo "PasswordAuthentication yes" >> /etc/ssh/sshd_config && echo "PermitRootLogin no" >> /etc/ssh/sshd_config