ubuntu.sshd (sha256:563373dec446bc58e1a9f73854c4d3ec127325775c1c63cd6cbf0058d159fc38)

Published 2023-06-22 15:14:33 +07:00 by lecturer

Installation

docker pull testgitea.cldevops.de/lecturer/ubuntu.sshd@sha256:563373dec446bc58e1a9f73854c4d3ec127325775c1c63cd6cbf0058d159fc38
sha256:563373dec446bc58e1a9f73854c4d3ec127325775c1c63cd6cbf0058d159fc38

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:0ad2ee2cfb186802f49c9bf4148674d1c6fc201f83478ec01ffaa7086d491323 in /
CMD ["/bin/bash"]
RUN /bin/sh -c apt update && apt upgrade -y && apt install -y openssh-server sudo # buildkit
RUN /bin/sh -c useradd --system --create-home --shell /bin/bash --gid root --groups sudo --uid 1000 admin # buildkit
RUN /bin/sh -c echo 'admin:admin' | chpasswd # buildkit
EXPOSE map[22/tcp:{}]
CMD ["/bin/bash" "-c" "service ssh start ; while true ; do echo \"$(service ssh status) on host $(hostname -f)/$(hostname -I)\" ; sleep 1 ; done"]

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 22.04
Details
Container
2023-06-22 15:14:33 +07:00
0
OCI / Docker
linux/amd64
95 MiB
Versions (1) View all
latest 2023-06-22