LABEL org.opencontainers.image.authors== binhex |
LABEL org.opencontainers.image.source== https://github.com/binhex/arch-base |
ADD file:b47bfd9ee3965f3e4b2b3ede02aa4c64b487d55d6659aa6b1eca53d4a91bd0f5 in /etc/supervisor.conf |
ADD file:b7800c212bea8b175578bc23a2235aa5f05c3c8f0c5f8f99b8f711cc33b793cc in /root/ |
ADD file:a356d3a8d52e2166bd3869ed74c8fececbd3acb12326f21a76df2383da6b0a20 in /bootstrap/busybox |
/bootstrap/busybox --install -s /bootstrap |
/bootstrap/sh -c /bootstrap/wget --timeout=60 -O /bootstrap/archlinux.tar.gz http://mirror.bytemark.co.uk/archlinux/iso/latest/archlinux-bootstrap-x86_64.tar.gz && /bootstrap/tar --exclude=root.x86_64/etc/resolv.conf --exclude=root.x86_64/etc/hosts -xvf /bootstrap/archlinux.tar.gz --strip-components=1 -C / && /bin/bash -c 'chmod +x /root/*.sh && /bin/bash /root/install.sh' |
ENV HOME=/home/nobody |
ENV TERM=xterm |
ENV LANG=en_GB.UTF-8 |
ENTRYPOINT ["/usr/bin/dumb-init" "--"] |
COPY /tmp/cage/*.pkg.tar.zst /tmp/cage/ # buildkit |
COPY build/root/*.sh /root/ # buildkit |
COPY config/ /config/ # buildkit |
COPY supervisor/*.conf /etc/supervisor/conf.d/ # buildkit |
RUN /bin/sh -c chmod +x /root/*.sh && /bin/bash /root/install.sh # buildkit |
ENV PUID=10000 PGID=10000 UMASK=022 WAYLAND_DISPLAY=wayland-0 XDG_RUNTIME_DIR=/run/user/ WLR_BACKENDS=headless WLR_NO_HARDWARE_CURSORS=1 WLR_DRM_DEVICES=/dev/dri/card0 |
RUN /bin/sh -c usermod -a -G seat,video,render nobody && mkdir -p ${XDG_RUNTIME_DIR} && chown ${PUID}:${PGID} ${XDG_RUNTIME_DIR} && chmod 7700 ${XDG_RUNTIME_DIR} # buildkit |
EXPOSE map[5900/tcp:{}] |
CMD ["/bin/bash" "/usr/local/bin/init.sh"] |