Skip to content

Commit e459e44

Browse files
Install DepotDownloader in image
1 parent c9ba751 commit e459e44

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,27 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2626
procps \
2727
jq \
2828
libarchive-tools \
29+
curl \
30+
ca-certificates \
31+
unzip \
2932
&& apt-get clean \
3033
&& rm -rf /var/lib/apt/lists/*
3134

35+
# Install .NET 8 runtime (required for DepotDownloader)
36+
RUN curl -sL https://dot.net/v1/dotnet-install.sh -o /tmp/dotnet-install.sh && \
37+
chmod +x /tmp/dotnet-install.sh && \
38+
/tmp/dotnet-install.sh --channel 8.0 --runtime dotnet --install-dir /usr/share/dotnet && \
39+
ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet && \
40+
rm /tmp/dotnet-install.sh
41+
42+
# Download DepotDownloader
43+
ARG DEPOT_DOWNLOADER_VERSION=3.4.0
44+
RUN curl -sL "https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_${DEPOT_DOWNLOADER_VERSION}/DepotDownloader-linux-x64.zip" -o /tmp/dd.zip && \
45+
mkdir -p /depotdownloader && \
46+
unzip /tmp/dd.zip -d /depotdownloader && \
47+
chmod +x /depotdownloader/DepotDownloader && \
48+
rm /tmp/dd.zip
49+
3250
COPY --from=rcon-cli_builder /build/gorcon /usr/bin/rcon-cli
3351

3452
LABEL maintainer="support@indifferentbroccoli.com" \

0 commit comments

Comments
 (0)