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"] |