This commit is contained in:
2024-09-06 21:51:47 -04:00
parent 1d20a82eab
commit 6ebd9713d0
3 changed files with 60 additions and 17 deletions

23
base-debian/Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
ARG VARIANT="bookworm"
FROM debian:${VARIANT}
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends \
zsh \
vim \
tmux \
curl \
git \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -ms /bin/zsh dev
USER dev
RUN mkdir /home/dev/_app
SHELL ["/bin/zsh", "-c"]
WORKDIR /home/dev/_app
CMD ["zsh"]