diff --git a/containers/arch/Containerfile b/containers/arch/Containerfile index 238a0ce..b03c51a 100644 --- a/containers/arch/Containerfile +++ b/containers/arch/Containerfile @@ -4,23 +4,24 @@ FROM docker.io/archlinux RUN pacman -Syu --noconfirm -RUN pacman -S --noconfirm \ - git \ - neovim \ - htop \ - fish \ - tmux \ - sudo \ - base-devel \ - cargo \ - ripgrep \ - devtools \ - fd \ - bat \ - go \ - clang \ - aurpublish \ - git-delta + +# Cache as much as possible +RUN pacman -S --noconfirm aurpublish +RUN pacman -S --noconfirm base-devel +RUN pacman -S --noconfirm bat +RUN pacman -S --noconfirm cargo +RUN pacman -S --noconfirm clang +RUN pacman -S --noconfirm devtools +RUN pacman -S --noconfirm fd +RUN pacman -S --noconfirm fish +RUN pacman -S --noconfirm git +RUN pacman -S --noconfirm git-delta +RUN pacman -S --noconfirm go +RUN pacman -S --noconfirm htop +RUN pacman -S --noconfirm neovim +RUN pacman -S --noconfirm ripgrep +RUN pacman -S --noconfirm sudo +RUN pacman -S --noconfirm tmux ENV TERM=xterm-256color RUN useradd -m -G wheel dev diff --git a/containers/debian/Containerfile b/containers/debian/Containerfile index 57c7629..23b4835 100644 --- a/containers/debian/Containerfile +++ b/containers/debian/Containerfile @@ -10,56 +10,57 @@ LABEL org.opencontainers.image.base.name="docker.io/debian:trixie" RUN apt-get update -# Installing latex takes so long, cache it. -RUN DEBIAN_FRONTEND=noninteractive apt-get install -y texlive-full latexmk xindy -RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \ - atuin \ - apt-utils \ - bat \ - build-essential \ - clang \ - clangd \ - catatonit \ - cmake \ - curl \ - desktop-file-utils \ - dialog \ - evince \ - fd-find \ - fish \ - fzf \ - gh \ - git \ - git-delta \ - golang-go \ - gopls \ - htop \ - iproute2 \ - just \ - libbpf-tools \ - kitty \ - locales \ - locales-all \ - meson \ - neovim \ - netcat-openbsd \ - npm \ - pipx \ - python3-poetry \ - ripgrep \ - rustup \ - pre-commit \ - pre-commit-hooks \ - screen \ - shellcheck \ - shfmt \ - socat \ - strace \ - sudo \ - tmux \ - valgrind \ - gettext \ - wireshark +# Cache as much as possible here. +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y texlive-full +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y latexmk +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y xindy +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y atuin +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y apt-utils +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y bat +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y clang +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y clangd +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y catatonit +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y cmake +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y curl +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y desktop-file-utils +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y dialog +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y evince +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y fd-find +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y fish +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y fzf +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y gh +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y git +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y git-delta +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y golang-go +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y gopls +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y htop +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y iproute2 +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y just +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libbpf-tools +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y kitty +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y locales +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y locales-all +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y meson +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y neovim +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y netcat-openbsd +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y npm +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y pipx +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python3-poetry +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y ripgrep +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y rustup +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y pre-commit +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y pre-commit-hooks +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y screen +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y shellcheck +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y shfmt +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y socat +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y strace +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y sudo +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tmux +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y valgrind +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y gettext +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y wireshark ENV LC_ALL en_US.UTF-8 ENV LANG en_US.UTF-8