ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=20.04 |
ADD file:5696198fbfd4074852bdee76ffd84da75da8de76727cef4f0cdd265f7bee6b76 in / |
CMD ["/bin/bash"] |
WORKDIR / |
RUN /bin/sh -c apt update # buildkit |
RUN /bin/sh -c apt install --no-install-recommends python3 openssh-server nano curl sudo -y # buildkit |
RUN /bin/sh -c adduser --shell /bin/bash --quiet --gecos "Utilisateur" --disabled-password user # buildkit |
RUN /bin/sh -c /bin/bash -c 'echo "user:bonjour" | chpasswd' # buildkit |
RUN /bin/sh -c usermod -aG sudo user # buildkit |
RUN /bin/sh -c mkdir -p /run/sshd # buildkit |
RUN /bin/sh -c sshd -t # buildkit |
COPY entrypoint.sh /bin/entrypoint # buildkit |
RUN /bin/sh -c chmod 754 /bin/entrypoint # buildkit |
CMD ["/bin/entrypoint"] |