From affaa73b77d8bdffa22b9a6113f57089b103cbce Mon Sep 17 00:00:00 2001 From: John Grafton Date: Sun, 16 Nov 2025 21:50:34 -0500 Subject: [PATCH] arch and versions are variable --- podman-lazyvim/Dockerfile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/podman-lazyvim/Dockerfile b/podman-lazyvim/Dockerfile index 3ec2aea..8755cb6 100644 --- a/podman-lazyvim/Dockerfile +++ b/podman-lazyvim/Dockerfile @@ -10,6 +10,8 @@ ARG NEOVIM_VERSION="v0.11.5" ARG NVM_VERSION="v0.40.3" ARG NODE_VERSION="24" ARG PYTHON_VERSION="3.12.12" +ARG RIPGREP_VERSION="15.1.0" +ARG RUST_VERSION="1.91.1" # ubuntu / debian packages RUN apt update -y @@ -42,11 +44,12 @@ RUN cd /opt/build/Python-${PYTHON_VERSION}; make -j 8 RUN cd /opt/build/Python-${PYTHON_VERSION}; make install # ripgrep -RUN curl -L https://github.com/BurntSushi/ripgrep/releases/download/15.1.0/ripgrep-15.1.0-${ARCH}-unknown-linux-gnu.tar.gz -o /opt/build/ripgrep-15.1.0-${ARCH}-unknown-linux-gnu.tar.gz -#RUN dpkg -i /opt/build/ripgrep_15.1.0-1_arm64.deb +RUN curl -L https://github.com/BurntSushi/ripgrep/releases/download/${RIPGREP_VERSION}/ripgrep-${RIPGREP_VERSION}-${ARCH}-unknown-linux-gnu.tar.gz -o /opt/build/ripgrep-${RIPGREP_VERSION}-${ARCH}-unknown-linux-gnu.tar.gz +RUN cd /opt/build; tar -xvf ripgrep-${RIPGREP_VERSION}-${ARCH}-unknown-linux-gnu.tar.gz +RUN cp /opt/build/ripgrep-${RIPGREP_VERSION}-${ARCH}-unknown-linux-gnu/rg /usr/bin # rust -#RUN curl -L https://static.rust-lang.org/dist/rust-1.91.1-arm64-unknown-linux-gnu.tar.xz -o /opt/build/rust-1.91.1.tar.xz -#RUN cd /opt/build; tar xvf rust-1.91.1.tar.xz -#RUN cd /opt/build/rust-1.91.1-arm64-unknown-linux-gnu; ./install.sh +RUN curl -L https://static.rust-lang.org/dist/rust-${RUST_VERSION}-${ARCH}-unknown-linux-gnu.tar.xz -o /opt/build/rust-${RUST_VERSION}.tar.xz +RUN cd /opt/build; tar xvf rust-${RUST_VERSION}.tar.xz +RUN cd /opt/build/rust-${RUST_VERSION}-${ARCH}-unknown-linux-gnu; ./install.sh