ARG VARIANT="bookworm" FROM debian:${VARIANT} RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ && apt-get -y install --no-install-recommends \ ca-certificates \ zsh \ vim \ tmux \ curl \ git \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* RUN useradd --system --create-home --shell=/bin/zsh --groups=sudo dev RUN mkdir /workspace && chown -R dev:dev /workspace USER dev RUN git clone https://gitea.tomastm.com/tomas.mirchev/dotfiles.git ~/.dotfiles RUN ~/.dotfiles/install.sh WORKDIR /workspace ENV w=/workspace CMD ["zsh"]