nvim (0.9.4)
Published 2023-11-10 11:38:04 -07:00 by mlow
Installation
docker pull git.mlow.ca/mlow/nvim:0.9.4
sha256:31dbf444e2cc7b66f99c7220b446839005148ba50769350747980d3ce7bcdcfd
Image Layers
ADD file:3e9b6405f11dd24ce62105c033f1d8b931d9409298553f63b03af1b6dd1dda35 in / |
CMD ["bash"] |
ARG NVIM_VERSION=0.9.4 |
ARG EXTRA_PACKAGES= |
|2 EXTRA_PACKAGES=age kitty-terminfo wl-clipboard NVIM_VERSION=0.9.4 /bin/sh -c apt-get update -q && apt-get install -yq --no-install-recommends bash-completion build-essential ca-certificates cmake curl gettext gettext-base git less locales ninja-build openssh-client ripgrep tmux unzip $EXTRA_PACKAGES && apt-get clean && rm -rf /var/lib/apt/lists/* |
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 |
|2 EXTRA_PACKAGES=age kitty-terminfo wl-clipboard NVIM_VERSION=0.9.4 /bin/sh -c sed -i "/${LANG}/s/^# //g" /etc/locale.gen && locale-gen |
ARG NVIM_SRC_TARBALL=/usr/local/src/neovim-0.9.4.tar.gz |
ARG NVIM_BUILD_TYPE=RelWithDebInfo |
|4 EXTRA_PACKAGES=age kitty-terminfo wl-clipboard NVIM_BUILD_TYPE=RelWithDebInfo NVIM_SRC_TARBALL=/usr/local/src/neovim-0.9.4.tar.gz NVIM_VERSION=0.9.4 /bin/sh -c mkdir -p /usr/local/src && curl -Lo ${NVIM_SRC_TARBALL} https://github.com/neovim/neovim/archive/refs/tags/v${NVIM_VERSION}.tar.gz && tar -xvf ${NVIM_SRC_TARBALL} -C /usr/local/src/ && cd /usr/local/src/neovim-${NVIM_VERSION} && make CMAKE_BUILD_TYPE=${NVIM_BUILD_TYPE} && make install && ln -s /usr/local/bin/nvim /usr/local/bin/vi && ln -s /usr/local/bin/nvim /usr/local/bin/vim |
ENV EDITOR=nvim |
ARG UID=1000 |
ARG GID=1000 |
ARG SHELL=/bin/bash |
|7 EXTRA_PACKAGES=age kitty-terminfo wl-clipboard GID=1000 NVIM_BUILD_TYPE=RelWithDebInfo NVIM_SRC_TARBALL=/usr/local/src/neovim-0.9.4.tar.gz NVIM_VERSION=0.9.4 SHELL=/bin/bash UID=1000 /bin/sh -c groupadd -g ${GID} nvim && useradd -m -s ${SHELL} -u ${UID} -g nvim nvim |
VOLUME [/workspace] |
COPY file:80f87bb2e35debea9d2fd9e0aa7a9b075d8271bff11ec51e4030ef69eb1a656b in /entrypoint.sh |
ENTRYPOINT ["/entrypoint.sh"] |
CMD [""] |
USER nvim |
ARG SOPS_VERSION=3.8.1 |
ARG SOPS_URL=https://github.com/getsops/sops/releases/download/v3.8.1/sops-v3.8.1.linux.amd64 |
|2 SOPS_URL=https://github.com/getsops/sops/releases/download/v3.8.1/sops-v3.8.1.linux.amd64 SOPS_VERSION=3.8.1 /bin/sh -c mkdir -p "$HOME/.local/bin" && curl -Lo "$HOME/.local/bin/sops" "${SOPS_URL}" && chmod +x "$HOME/.local/bin/sops" |
ENV PATH=~/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
COPY dir:67bcd08a8486fad7ffe00891bb54b82f25488bba2c3b61b8e844a7a19a115498 in /home/nvim/.config/nvim/ |
|2 SOPS_URL=https://github.com/getsops/sops/releases/download/v3.8.1/sops-v3.8.1.linux.amd64 SOPS_VERSION=3.8.1 /bin/sh -c nvim --headless -c 'autocmd User PackerComplete qa' 2> /dev/null && nvim --headless -E +'TSUpdateSync' +'sleep 15' +'quit' |
WORKDIR /workspace |