| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:6f881131af38dde06e3705e8376701ae22ce479e4824821a9580d4e0e0bcf0ac in / |
| CMD ["/bin/bash"] |
| ENV SSH_PORT=22 |
| /bin/sh -c export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install curl -y && curl -sL https://deb.nodesource.com/setup_20.x | bash && apt-get install openssh-server tmux curl vim git php nodejs -y && sed -i 's/UsePAM yes/UsePAM no/' /etc/ssh/sshd_config && useradd --create-home --uid 60 --gid 60 nginx --shell /bin/bash && echo "nginx:$(tr -dc A-Za-z0-9 </dev/urandom | head -c 13)" | chpasswd && mkdir /home/nginx/.ssh /run/sshd && touch /home/nginx/.ssh/authorized_keys && chown -R nginx: /home/nginx/.ssh |
| CMD ["bash", "-c", "sed -i 's/#Port 22/Port '$SSH_PORT'/' /etc/ssh/sshd_config && echo $PUBLIC_KEY > /home/nginx/.ssh/authorized_keys && echo $ACCESS_TOKEN > /home/nginx/.git-credentials && exec /usr/sbin/sshd -D"] |