nvim-python (0.10.0)
Published 2024-08-05 14:30:48 -06:00 by mlow
Installation
docker pull git.mlow.ca/mlow/nvim-python:0.10.0
sha256:c51b224a00eb7b8bc4bd9bdbae3a9238b7403a235804627804cfc60d88b58309
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 apt-get update -q && apt-get install -yq --no-install-recommends python3-venv pipx && apt-get clean && rm -rf /var/lib/apt/lists/* |
USER nvim |
/bin/sh -c pipx install poetry && pipx install ruff && pipx install basedpyright |
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 |
COPY file:74f17479ad551550c1fa54e92b3c9357f1e820c3e05b47d6232b1d7ff4fec022 in /home/nvim/.config/nvim/after/plugin/lspconfig_python.lua |
COPY file:cf7ee19530700b6bc0d82389dff3e1c634896d640adcacfc6f44d03df12eb9f9 in /entrypoint-extra.sh |
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/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
WORKDIR /workspace |