Files
code/core/Containerfile
2023-06-01 00:54:51 +02:00

20 lines
465 B
Docker

FROM alpine:latest
# Install alpine packages
RUN apk add --no-cache \
mandoc mandoc-doc less less-doc bash bash-doc bash-completion \
tmux tmux-doc neovim neovim-doc
# Add shell configs
COPY shell /etc
# Add neovim config
COPY nvim /etc/xdg/nvim
ENV VIMINIT=":luafile /etc/xdg/nvim/init.lua"
# Configure environment
USER 1000:1000
WORKDIR /work
ENV HOME=/tmp TERM=xterm-256color LANG=en_US.UTF-8
ENTRYPOINT ["/usr/bin/tmux", "new-session", "/usr/bin/nvim"]