nvim-puppet (0.10.0)
Published 2024-08-05 14:24:34 -06:00 by mlow
Installation
docker pull git.mlow.ca/mlow/nvim-puppet:0.10.0
sha256:228e47ac6ccec9650a78cc570baa71ca47839f44aa8d2d71657e95e7156c5c25
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"] |
USER root |
/bin/sh -c cd /tmp && curl -LO https://apt.puppetlabs.com/puppet8-release-bullseye.deb && dpkg -i puppet8-release-bullseye.deb && apt-get update -q && apt-get install -yq --no-install-recommends puppet-agent puppet-lint bundler ruby-dev && apt-get clean && rm -rf /var/lib/apt/lists/* |
USER nvim |
ARG PUPPET_EDITOR_SERVICE_REF=main |
|1 PUPPET_EDITOR_SERVICE_REF=main /bin/sh -c mkdir -p ${HOME}/.local/src && cd ${HOME}/.local/src && git clone https://github.com/puppetlabs/puppet-editor-services.git && cd puppet-editor-services && git checkout ${PUPPET_EDITOR_SERVICE_REF} && bundle config set --local path "${HOME}/.gem" && bundle install && bundle exec rake gem_revendor && mkdir -p $HOME/.local/bin && ln -s $(pwd)/puppet-languageserver $HOME/.local/bin/puppet-languageserver |
ENV PATH=/home/nvim/.gem/ruby/3.1.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
|1 PUPPET_EDITOR_SERVICE_REF=main /bin/sh -c gem install --user-install --verbose hiera-eyaml |
COPY file:a7f798c403da62c0ed15551856664264c2161c366073c8fb38b00ceae05b0dac 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:/home/nvim/.gem/ruby/3.1.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
WORKDIR /workspace |