build core, basic and go variants and add template

This commit is contained in:
Dietrich Rink
2023-06-01 00:54:51 +02:00
parent 76e695ebbb
commit dd67e62569
31 changed files with 800 additions and 2 deletions

19
core/Containerfile Normal file
View File

@@ -0,0 +1,19 @@
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"]