/
githubmirror
/
toolbox
Обзор
Документация
Войти
/
githubmirror
/
toolbox
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
images/arch/Containerfile
28 строк
1 KB
Debarshi Ray
images/arch: Rename a file
06 сен 2025, 15:36
06 сен 2025, 15:36
9dce898
Код
Авторство
О чём код?
FROM docker.io/library/archlinux:base-devel LABEL com.github.containers.toolbox="true" \ name="arch-toolbox" \ version="base-devel" \ usage="This image is meant to be used with the toolbox command" \ summary="Base image for creating Arch Linux Toolbx containers" \ maintainer="Morten Linderud <foxboron@archlinux.org>" # Install extra packages COPY extra-packages / RUN pacman -Syu --needed --noconfirm - < extra-packages RUN rm /extra-packages # Enable man pages, enable progress bars RUN sed -i -e 's/NoProgressBar/#NoProgressBar/' -e 's/NoExtract/#NoExtract/' /etc/pacman.conf # Force reinstall of packages which have man pages (shouldn't redownload any that were just upgraded) RUN mkdir -p /usr/share/man && pacman -Qo /usr/share/man | awk '{print $5}' | xargs pacman -S --noconfirm man-db # Clean up cache RUN yes | pacman -Scc # Enable sudo permission for wheel users RUN echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/90-toolbx-nopasswd # Enable the use of p11-kit-client.so to access CA certificates from the host RUN mkdir --parents /etc/pkcs11/modules