nvim-puppet (0.9.5)
Published 2024-04-17 20:34:00 -06:00 by mlow
Installation
docker pull git.mlow.ca/mlow/nvim-puppet:0.9.5
sha256:2bfcc1c141cba8adb9ddf603de1bc623748eb230c250e10309a85bdc0eb6d5f9
Image Layers
ADD file:ca6d1f0f80dd6c91b8ba1d1adf77d7af6d0e5f2f493a2858e384c11874314395 in / |
CMD ["bash"] |
ARG NVIM_VERSION=0.9.5 |
ARG EXTRA_PACKAGES= |
|2 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 |
|2 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 NVIM_SRC_TARBALL=/usr/local/src/neovim-0.9.5.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.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 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.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:22cb8e34c60f89795d8bb985ce8e70d437f871902ea42507bb1aafeac670f2cd in /entrypoint.sh |
ENTRYPOINT ["/entrypoint.sh"] |
CMD [""] |
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:872ea0bae8f1090ec6c997ff4ea9244a2c4f74e4cd0e89d0e1d926c535bba314 in /home/nvim/.config/nvim/after/plugin/lspconfig.lua |
COPY --chown=nvimdir:d45455e9bfe4b614c4a0f46c63e96e572c06da2eb31b7416ab7d93d863ccf0f9 in /home/nvim/.local |
COPY --chown=nvimdir:e20365ba899de8b295afc74e2b98d21f9cb512e8bc3c0e995c4b2dd04d610272 in /home/nvim/.config/nvim |
ENV PATH=~/.local/bin:/home/nvim/.gem/ruby/3.1.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
WORKDIR /workspace |