ADD file:e8aac9b1598114ead96b4038c19d915b87f662ef342291d69c7e5255c5d731fc in / |
CMD ["bash"] |
ARG NVIM_VERSION |
ARG EXTRA_PACKAGES NVIM_VERSION |
|4 EXTRA_PACKAGES=age kitty-terminfo wl-clipboard NVIM_VERSION=0.9.5 /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 |
|4 EXTRA_PACKAGES=age kitty-terminfo wl-clipboard NVIM_VERSION=0.9.5 /bin/sh -c sed -i "/${LANG}/s/^# //g" /etc/locale.gen && locale-gen |
ARG EXTRA_PACKAGES NVIM_SRC_TARBALL NVIM_VERSION |
ARG EXTRA_PACKAGES NVIM_BUILD_TYPE NVIM_SRC_TARBALL NVIM_VERSION |
|6 EXTRA_PACKAGES=age kitty-terminfo wl-clipboard NVIM_BUILD_TYPE=RelWithDebInfo NVIM_SRC_TARBALL=/usr/local/src/neovim-0.9.5.tar.gz NVIM_VERSION=0.9.5 /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 EXTRA_PACKAGES NVIM_BUILD_TYPE NVIM_SRC_TARBALL NVIM_VERSION UID |
ARG EXTRA_PACKAGES GID NVIM_BUILD_TYPE NVIM_SRC_TARBALL NVIM_VERSION UID |
ARG EXTRA_PACKAGES GID NVIM_BUILD_TYPE NVIM_SRC_TARBALL NVIM_VERSION SHELL UID |
|9 EXTRA_PACKAGES=age kitty-terminfo wl-clipboard GID=1000 NVIM_BUILD_TYPE=RelWithDebInfo NVIM_SRC_TARBALL=/usr/local/src/neovim-0.9.5.tar.gz NVIM_VERSION=0.9.5 SHELL=/bin/bash UID=1000 /bin/sh -c groupadd -g ${GID} nvim && useradd -m -s ${SHELL} -u ${UID} -g nvim nvim |
COPY file:adb88c2cdfaab02f0d16f3b2d8e8043de451204c42f96379862cf6cd92519973 in /entrypoint.sh |
ENTRYPOINT ["/entrypoint.sh"] |
USER nvim |
ARG SOPS_VERSION |
ARG SOPS_URL SOPS_VERSION |
|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:$PATH |
COPY file:4704cee99a21a4edf6b0e8f592661c7b4d58a0bf043fbcc948d48524a68d4f34 in /home/nvim/.config/nvim/ |
COPY dir:8bd2decf194b85eba1253edc8cb818e64d82c8a4c6e51b434f83c09ac76a14cd in /home/nvim/.config/nvim/lua/ |
|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 +'Lazy! install' +'TSUpdateSync' +qa |
WORKDIR /workspace |