nvim-go (latest)

Published 2024-08-05 14:49:09 -06:00 by mlow

Installation

docker pull git.mlow.ca/mlow/nvim-go:latest
sha256:d3eb0a75e470ef67398f5c8bf61ab9a11e9397c33bc2471997933eb181a89c06

Image Layers

ADD file:430cca9ad155514d8c818e860e66e2aeccfb6230874d4faf446a1d0c2fc1054f in /
CMD ["bash"]
ARG NVIM_VERSION=0.10.0
ARG EXTRA_PACKAGES
|2 EXTRA_PACKAGES=age kitty-terminfo wl-clipboard NVIM_VERSION=0.10.0 /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 man-db manpages manpages-dev 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.10.0 /bin/sh -c sed -i "/${LANG}/s/^# //g" /etc/locale.gen && locale-gen
ARG NVIM_SRC_TARBALL=/usr/local/src/neovim-0.10.0.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.10.0.tar.gz NVIM_VERSION=0.10.0 /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.10.0.tar.gz NVIM_VERSION=0.10.0 SHELL=/bin/bash UID=1000 /bin/sh -c groupadd -g ${GID} nvim && useradd -m -s ${SHELL} -u ${UID} -g nvim nvim
COPY file:03446ce6a8435d4790029bdb40f9edb016a4cd0019fb6775e7e7de057c6cbfc8 in /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
ARG GO_VERSION=1.22.5
USER root
|1 GO_VERSION=1.22.5 /bin/sh -c curl -Lo /tmp/go-${GO_VERSION}.tar.gz https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz && tar -xvf /tmp/go-${GO_VERSION}.tar.gz -C /usr/local && rm -rf /tmp/*
USER nvim
ENV PATH=/usr/local/go/bin:/home/nvim/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|1 GO_VERSION=1.22.5 /bin/sh -c go install golang.org/x/tools/gopls@latest && go install golang.org/x/tools/cmd/goimports@latest
COPY --chown=nvimfile:908e86bac02572466afe0cda3a4ad5b9e86912e2478ee3ceaa57947b1dfe3b11 in /home/nvim/.config/nvim/after/plugin/lspconfig.lua
COPY --chown=nvimdir:46ab6fd6085445e48e91770643555d08b0eb1dbe34027f5ba30a892c26976a84 in /home/nvim/.local
COPY --chown=nvimdir:f2b0e0a76888ea82ce7342c5733b23a1e46553f9d24f17eaa3dfd61103bcceae in /home/nvim/.config/nvim
ENV PATH=/home/nvim/.local/bin:/usr/local/go/bin:/home/nvim/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
WORKDIR /workspace
Details
Container
2024-08-05 14:49:09 -06:00
2
OCI / Docker
linux/amd64
578 MiB
Versions (4) View all
latest 2024-08-05
0.10.0 2024-08-05
0.9.5 2024-04-17
0.9.4 2023-11-10