Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit 639ea12

Browse files
Added SteamCMD and itch.io butler.
1 parent 8af53a3 commit 639ea12

File tree

3 files changed

+86
-7
lines changed

3 files changed

+86
-7
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### v1.4.5
2+
Added [SteamCMD](https://developer.valvesoftware.com/wiki/SteamCMD) and [itch.io butler](https://itch.io/docs/butler/) to `naev-linux-latest` and `naev-linux-lts` images. (Available on PATH)
3+
14
### v1.4.4
25
Set APPIMAGE_EXTRACT_AND_RUN to 1 in the naev-steamruntime image.
36

naev/naev-linux-latest/Dockerfile

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,43 @@ LABEL org.opencontainers.image.source "https://github.com/ProjectSynchro/synchro
55
LABEL org.opencontainers.image.description "Naev Linux (Latest) development/testing environment for Naev (For CI and testing)"
66

77
# Enable RPMFusion for additional up-to-date tools.
8-
RUN dnf -y --nogpgcheck install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
8+
RUN dnf -y install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
99

1010
# Install Build dependencies and utilities.
11-
RUN dnf -y --nogpgcheck groupinstall "Development Tools"
11+
RUN dnf -y groupinstall "Development Tools"
1212

13-
RUN dnf -y --nogpgcheck install gettext-devel autoconf-archive binutils-devel \
13+
RUN dnf -y install gettext-devel autoconf-archive binutils-devel \
1414
doxygen clang cmake ffmpeg git graphviz intltool lldb llvm freetype-devel luajit-devel \
1515
openal-soft-devel libpng-devel lua-ldoc SDL2-devel SDL2_image-devel SDL2_mixer-devel libvorbis-devel \
1616
libxml2-devel meson mesa-libGLU-devel nano ninja-build physfs-devel python-mutagen \
1717
suitesparse-devel tidy vim wget xorg-x11-server-Xvfb
1818

19+
# Install SteamCMD and friends
20+
RUN dnf -y install glibc.i686 libstdc++.i686 SDL2.i686
21+
22+
WORKDIR /tmp
23+
RUN wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz && \
24+
mkdir -p /opt/steamcmd && \
25+
tar -xvzf steamcmd_linux.tar.gz -C /opt/steamcmd
26+
27+
WORKDIR /opt/steamcmd
28+
RUN mv steam.sh steam && mv steamcmd.sh steamcmd
29+
30+
# Add SteamCMD to PATH
31+
ENV PATH "$PATH:/opt/steamcmd"
32+
33+
# Install itch.io butler
34+
WORKDIR /tmp
35+
RUN wget https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default -O butler.zip && \
36+
mkdir -p /opt/butler && \
37+
unzip butler.zip -d /opt/butler
38+
39+
WORKDIR /opt/butler
40+
RUN chmod +x butler
41+
42+
# Add Butler to PATH
43+
ENV PATH "$PATH:/opt/butler"
44+
1945
# Install Ruby and Rubygems packages
2046
RUN dnf -y --nogpgcheck install redhat-rpm-config ruby-devel rubygem-bundler rubygem-json rubygem-ffi rubygem-racc
2147

@@ -39,6 +65,16 @@ RUN echo "Verifying meson install" && \
3965
which meson && \
4066
meson --version
4167

68+
# Verify SteamCMD version and installation.
69+
RUN echo "Verifying steamcmd install" && \
70+
which steamcmd && \
71+
steamcmd +quit
72+
73+
# Verify Butler version and installation.
74+
RUN echo "Verifying butler install" && \
75+
which butler && \
76+
butler -V
77+
4278
# Clone naev-website git repository
4379
WORKDIR /tmp
4480
RUN git clone https://github.com/naev/naev-website.git
@@ -49,7 +85,9 @@ RUN bundle install -j"$(nproc --all)"
4985

5086
# Cleanup dnf cache
5187
RUN dnf clean all && \
52-
rm -rf /tmp/naev-website
88+
rm -rf /tmp/naev-website && \
89+
rm /tmp/butler.zip && \
90+
rm /tmp/steamcmd_linux.tar.gz
5391

5492
# Force appimages to run in extract mode since FUSE is not available
5593
ENV APPIMAGE_EXTRACT_AND_RUN 1

naev/naev-linux-lts/Dockerfile

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,32 @@ RUN yum install -y gettext-devel autoconf-archive binutils-devel \
2222
# Install ldoc from luarocks
2323
RUN luarocks install ldoc
2424

25+
# Install SteamCMD and friends
26+
RUN yum install -y glibc.i686 libstdc++.i686 SDL2.i686
27+
28+
WORKDIR /tmp
29+
RUN wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz && \
30+
mkdir -p /opt/steamcmd && \
31+
tar -xvzf steamcmd_linux.tar.gz -C /opt/steamcmd
32+
33+
WORKDIR /opt/steamcmd
34+
RUN mv steam.sh steam && mv steamcmd.sh steamcmd
35+
36+
# Add SteamCMD to PATH
37+
ENV PATH "$PATH:/opt/steamcmd"
38+
39+
# Install itch.io butler
40+
WORKDIR /tmp
41+
RUN wget https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default -O butler.zip && \
42+
mkdir -p /opt/butler && \
43+
unzip butler.zip -d /opt/butler
44+
45+
WORKDIR /opt/butler
46+
RUN chmod +x butler
47+
48+
# Add Butler to PATH
49+
ENV PATH "$PATH:/opt/butler"
50+
2551
# Verify python version and install location.
2652
RUN echo "Verifying python install" && \
2753
which python3 && \
@@ -33,12 +59,24 @@ RUN echo "Verifying meson install" && \
3359
meson --version
3460

3561
# Verify git version and installation.
36-
RUN echo "Verifying meson install" && \
62+
RUN echo "Verifying git install" && \
3763
which git && \
3864
git --version
3965

40-
# Cleanup yum cache
41-
RUN yum clean all
66+
# Verify SteamCMD version and installation.
67+
RUN echo "Verifying steamcmd install" && \
68+
which steamcmd && \
69+
steamcmd +quit
70+
71+
# Verify Butler version and installation.
72+
RUN echo "Verifying butler install" && \
73+
which butler && \
74+
butler -V
75+
76+
# Cleanup yum cache and utility temp files
77+
RUN yum clean all && \
78+
rm /tmp/butler.zip && \
79+
rm /tmp/steamcmd_linux.tar.gz
4280

4381
# Force appimages to run in extract mode since FUSE is not available
4482
ENV APPIMAGE_EXTRACT_AND_RUN 1

0 commit comments

Comments
 (0)