| LABEL org.opencontainers.image.title=Arch Linux base Image |
| LABEL org.opencontainers.image.description=Official containerd image of Arch Linux, a simple, lightweight Linux distribution aimed for flexibility. |
| LABEL org.opencontainers.image.authors=Santiago Torres-Arias <santiago@archlinux.org> (@SantiagoTorres), Christian Rebischke <Chris.Rebischke@archlinux.org> (@shibumi), Justin Kromlinger <hashworks@archlinux.org> (@hashworks) |
| LABEL org.opencontainers.image.url=https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/master/README.md |
| LABEL org.opencontainers.image.documentation=https://wiki.archlinux.org/title/Docker#Arch_Linux |
| LABEL org.opencontainers.image.source=https://gitlab.archlinux.org/archlinux/archlinux-docker |
| LABEL org.opencontainers.image.licenses=GPL-3.0-or-later |
| LABEL org.opencontainers.image.version=20261025.0.616225 |
| LABEL org.opencontainers.image.revision=34b87485162b028c8d957bdcd2674359d883cd21 |
| LABEL org.opencontainers.image.created=2026-10-25T00:09:13+00:00 |
| COPY /rootfs/ / # buildkit |
| RUN /bin/sh -c ldconfig && sed -i '/BUILD_ID/a VERSION_ID=20261025.0.616225' /etc/os-release # buildkit |
| ENV LANG=C.UTF-8 |
| CMD ["/usr/bin/bash"] |
| ARG PACMAN_MIRROR= |
| ARG PACMAN_REFRESH= |
| ARG PACMAN_OPTS=--disable-sandbox-syscalls |
| SHELL [/bin/bash -euo pipefail -c] |
| RUN |3 PACMAN_MIRROR= PACMAN_REFRESH= PACMAN_OPTS=--disable-sandbox-syscalls /bin/bash -euo pipefail -c if [[ -n "${PACMAN_MIRROR}" ]]; then printf 'Server = %s/$repo/os/$arch\n' "${PACMAN_MIRROR%/}" > /etc/pacman.d/mirrorlist; fi; if ! grep -q '^\[multilib\]' /etc/pacman.conf; then printf '\n[multilib]\nInclude = /etc/pacman.d/mirrorlist\n' >> /etc/pacman.conf; fi; pacman -Sy ${PACMAN_OPTS} --noconfirm --needed archlinux-keyring; pacman -Su ${PACMAN_OPTS} --noconfirm --needed dbus seatd sudo util-linux procps-ng iproute2 ca-certificates which less nano libcap openssl pipewire pipewire-pulse pipewire-alsa wireplumber libinput systemd-libs xkeyboard-config libxkbcommon mesa libglvnd vulkan-icd-loader egl-wayland egl-gbm egl-x11 lib32-libglvnd lib32-vulkan-icd-loader fontconfig ttf-dejavu go-yq; sed -i 's/^#\s*\(en_US\.UTF-8 UTF-8\)/\1/' /etc/locale.gen; locale-gen; getent group seat >/dev/null || groupadd --system seat; rm -rf /var/lib/pacman/sync/* /usr/share/man/* /usr/share/doc/* /usr/share/info/* # buildkit |
| COPY /desktopd-init /usr/bin/desktopd-init # buildkit |
| COPY rootfs/ / # buildkit |
| RUN |3 PACMAN_MIRROR= PACMAN_REFRESH= PACMAN_OPTS=--disable-sandbox-syscalls /bin/bash -euo pipefail -c mkdir -p /usr/lib/desktopd/sessions /usr/lib/desktopd/services.d /usr/lib/desktopd/lib /usr/lib/desktopd/hooks.d/pre-start /usr/lib/desktopd/hooks.d/post-start /usr/lib/desktopd/hooks.d/pre-stop /usr/lib/desktopd/hooks.d/post-stop /etc/desktopd /run/desktopd /persist; install -d -m 1777 /tmp/.X11-unix; find /usr/lib/desktopd -type f \( -path '/usr/lib/desktopd/sessions/*' -o -path '/usr/lib/desktopd/hooks.d/*' -o -path '/usr/lib/desktopd/lib/*' -o -path '/usr/lib/desktopd/services.d/*/run' -o -path '/usr/lib/desktopd/services.d/*/condition' -o -path '/usr/lib/desktopd/steamos/bin/*' \) ! -name '*.sh' -exec chmod 0755 {} +; chmod 0644 /usr/lib/desktopd/lib/*.sh # buildkit |
| ENV LANG=en_US.UTF-8 NVIDIA_DRIVER_CAPABILITIES=all DESKTOPD_CONFIG=/etc/desktopd/desktop.yaml |
| LABEL org.opencontainers.image.title=desktopd-base org.opencontainers.image.description=Arch Linux base for desktopd desktops (init, dbus, seatd, PipeWire) dev.mrlokop.desktopd.contract=v1 |
| STOPSIGNAL SIGTERM |
| ENTRYPOINT ["/usr/bin/desktopd-init"] |