Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tzdata binary and config var; #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docker/steamcmd-minimal.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ ARG RCON_IMAGE="docker.io/outdead/rcon:0.10.2"
ARG UID=1000
ARG GID=1000
ARG USER=steam
ARG TZ=UTC

FROM ${RCON_IMAGE} as rcon

Expand All @@ -50,14 +51,16 @@ RUN wget "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz

# Start again with a small base image
FROM ${BASE_IMAGE} as installer
ARG RCON_IMAGE
ARG UID
ARG GID
ARG USER
ARG RCON_IMAGE
ARG TZ

ENV USER="${USER}"
ENV STEAMDIR="/home/${USER}/.local/steamcmd"
ENV PATH="$STEAMDIR:$PATH"
ENV TZ="${TZ}"

# Add label metadata
LABEL com.renegademaster.steamcmd-minimal.authors="Renegade-Master" \
Expand All @@ -72,6 +75,7 @@ RUN apt-get update && apt-get autoremove -y \
ca-certificates=20211016 \
lib32stdc++6=12.2.0-3ubuntu1 \
musl=1.2.3-1 \
tzdata=2022g-0ubuntu0.22.10.1 \
&& apt-get remove --purge --auto-remove -y \
&& rm -rf /var/lib/apt/lists/*

Expand Down