nvim-puppet (0.9.4)
Published 2023-11-10 11:36:34 -07:00 by mlow
Installation
docker pull git.mlow.ca/mlow/nvim-puppet:0.9.4
sha256:349d7f1b8b86ceb4edf8bafc9ffb70741691da815ab89372edcece66057225fe
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 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:7a61157d0936e5ecdf63e9f730eb1ab162ed2c1e104f60febd225391a5a53f95 in /home/nvim/.local |
COPY --chown=nvimdir:750fff35e0e0698028a26e1e88a2c9dd00ffa1677fc2a623279342f2ab5eb7bc 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 |