arch and versions are variable
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user