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 && \