From 38411be6a254f0358e21fac5da2a94ac61e24bd7 Mon Sep 17 00:00:00 2001 From: Edgar Simo-Serra Date: Tue, 24 Dec 2024 22:43:17 +0900 Subject: [PATCH] Add rust support to naev-release. --- naev-release/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/naev-release/Dockerfile b/naev-release/Dockerfile index f306fd8..8826308 100644 --- a/naev-release/Dockerfile +++ b/naev-release/Dockerfile @@ -1,5 +1,5 @@ # Build luarocks in build container to save space. -FROM registry.fedoraproject.org/fedora-minimal:latest AS build +FROM registry.fedoraproject.org/fedora-minimal:latest AS build WORKDIR /tmp # Install luarocks deps @@ -37,12 +37,17 @@ ENV PATH "$PATH:/opt/butler" # Add rcodesign to PATH ENV PATH "$PATH:/opt/apple-codesign" +# Add cargo to PATH +ENV PATH "$PATH:/root/.cargo/bin" + WORKDIR /tmp # Install utilities RUN microdnf --nodocs --setopt=install_weak_deps=0 -y install meson ninja-build gcc python3-pyyaml file git tar xz unzip zip \ # Install SteamCMD and friends glibc.i686 SDL2.i686 && \ microdnf clean all && \ +# Install Rust + curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y && \ # Download and install SteamCMD curl -L -O http://media.steampowered.com/installer/steamcmd_linux.tar.gz && \ mkdir -p /opt/steamcmd && \