Skip to content

Commit

Permalink
Add rust support to naev-release.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbens committed Dec 24, 2024
1 parent 5b237f6 commit 38411be
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion naev-release/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 && \
Expand Down

0 comments on commit 38411be

Please sign in to comment.