devcontainer (latest)
Published 2024-04-07 01:07:53 +00:00 by murdoc
Installation
docker pull git.bueraner.de/murdoc/devcontainer:latest
sha256:fdd99910bbb953881b619ba598ced23b44172a82244f72187e30f83b4e5aec91
About this package
Debian 12 Development Container for DevPod
Image layers
ADD file:b18b4c32dd8042f45097997c732dc29b3917fd7d5f337f9e772eee5875fbe6f1 in / |
CMD ["bash"] |
ARG USERNAME=murdoc |
ARG NAME=Patrick |
ARG EMAIL=murdoc@storm-clan.de |
LABEL org.opencontainers.image.authors=murdoc@storm-clan.de org.label-schema.name=DevPod Image org.label-schema.vendor=murdoc org.label-schema.schema-version=0.11 org.opencontainers.image.description=Debian 12 Development Container for DevPod org.opencontainers.image.licenses=MIT |
ENV USERNAME=murdoc |
ARG USER_UID=1000 |
ARG USER_GID=1000 |
ENV DEBIAN_FRONTEND=noninteractive |
ENV TZ=Europe/Berlin |
ENV LANG=en_US.UTF-8 |
ENV LANGUAGE=en_US:en |
ENV LC_ALL=C.UTF-8 |
SHELL [/bin/bash -o pipefail -c] |
|4 EMAIL=murdoc@storm-clan.de NAME=Patrick USER_GID=1000 USER_UID=1000 /bin/bash -o pipefail -c groupadd --gid $USER_GID $USERNAME && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME --shell /bin/zsh && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends ssh sudo bash zsh zsh-syntax-highlighting zsh-autosuggestions && echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME && chmod 0440 /etc/sudoers.d/$USERNAME && DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends python3 python3-apt pip vim cmake wget libtool autoconf automake cmake libncurses5-dev g++ git curl ca-certificates build-essential git-lfs lf ripgrep shellcheck npm unzip python3.11-venv bat jq yq tmux tmux-plugin-manager fzf locate locales && pip install --no-cache-dir --break-system-packages pre-commit ansible && curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage && chmod u+x nvim.appimage && ./nvim.appimage --appimage-extract && ln -s /squashfs-root/AppRun /usr/bin/nvim && NVIM_PATH=/usr/bin/nvim && update-alternatives --install /usr/bin/ex ex "${NVIM_PATH}" 110 && update-alternatives --install /usr/bin/vi vi "${NVIM_PATH}" 110 && update-alternatives --install /usr/bin/view view "${NVIM_PATH}" 110 && update-alternatives --install /usr/bin/vim vim "${NVIM_PATH}" 110 && update-alternatives --install /usr/bin/vimdiff vimdiff "${NVIM_PATH}" 110 && sed --in-place '/en_US.UTF-8/s/^# //' /etc/locale.gen && sed --in-place '/de_DE.UTF-8/s/^# //' /etc/locale.gen && locale-gen && LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*') && curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" && tar xf lazygit.tar.gz lazygit && install lazygit /usr/local/bin && rm lazygit.tar.gz && rm -rf ./lazygit |
USER murdoc |
SHELL [/bin/bash -o pipefail -c] |
|4 EMAIL=murdoc@storm-clan.de NAME=Patrick USER_GID=1000 USER_UID=1000 /bin/bash -o pipefail -c curl -fsSL https://starship.rs/install.sh | sh -s -- --yes && git config --global core.editor "vim" && git config --global user.email "$EMAIL" && git config --global user.name "$NAME" && git config --global alias.br 'branch' && git config --global alias.ci 'commit' && git config --global alias.co 'checkout' && git config --global alias.cob 'checkout -d' && git config --global alias.df 'diff' && git config --global alias.del 'branch -D' && git config --global alias.s 'status' && git config --global alias.st 'status' && git config --global alias.up 'rebase' && git config --global alias.undo 'reset HEAD~1 --mixed' && git config --global alias.unstage 'reset HEAD --' && set -o vi && SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.zsh_history" && sudo mkdir /commandhistory && sudo touch /commandhistory/.zsh_history && sudo chown -R $USERNAME /commandhistory && echo $SNIPPET >> "/home/$USERNAME/.zshrc" && echo 'eval "$(starship init zsh)"' >> "/home/$USERNAME/.zshrc" && echo 'export TERM=ansi' >> "/home/$USERNAME/.zshrc" && echo 'alias ll="ls -l"' >> "/home/$USERNAME/.zshrc" && echo 'alias lg="lazygit"' >> "/home/$USERNAME/.zshrc" && git clone https://github.com/NvChad/starter ~/.config/nvim && nvim --headless +PlugInstall +qall |
LABEL org.opencontainers.image.created=2024-04-07T01:01:10Z |
LABEL org.opencontainers.image.revision=2d4a1558e204015a74be04745bb9d88b3ce6343b |
LABEL org.opencontainers.image.source=https://git.bueraner.de/murdoc/devcontainer.git |
LABEL org.opencontainers.image.url=https://git.bueraner.de/murdoc/devcontainer |
Labels
Key | Value |
---|---|
org.label-schema.name | DevPod Image |
org.label-schema.schema-version | 0.11 |
org.label-schema.vendor | murdoc |
org.opencontainers.image.authors | murdoc@storm-clan.de |
org.opencontainers.image.created | 2024-04-07T01:01:10Z |
org.opencontainers.image.description | Debian 12 Development Container for DevPod |
org.opencontainers.image.licenses | MIT |
org.opencontainers.image.revision | 2d4a1558e204015a74be04745bb9d88b3ce6343b |
org.opencontainers.image.source | https://git.bueraner.de/murdoc/devcontainer.git |
org.opencontainers.image.url | https://git.bueraner.de/murdoc/devcontainer |