Skip to content

Commit

Permalink
Merge pull request #46 from solareon/add-tini
Browse files Browse the repository at this point in the history
feat(Dockerfile): add tini for init handling
  • Loading branch information
arguser authored Sep 3, 2024
2 parents 45c47d2 + 848d979 commit 5d6416e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN dpkg --add-architecture i386
RUN set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends --no-install-suggests \
xvfb mesa-utils libx32gcc-s1 lib32gcc-s1 build-essential libxi6 x11-utils \
xvfb mesa-utils libx32gcc-s1 lib32gcc-s1 build-essential libxi6 x11-utils tini \
&& mkdir -p "${STEAMAPPDIR}" \
&& mkdir -p "${STEAMAPPDATADIR}" \
&& chmod +x "${HOMEDIR}/entry.sh" \
Expand Down Expand Up @@ -55,4 +55,7 @@ WORKDIR ${HOMEDIR}

VOLUME ${STEAMAPPDIR}

# Use tini as the entrypoint for signal handling
ENTRYPOINT ["/usr/bin/tini", "--"]

CMD ["bash", "entry.sh"]

0 comments on commit 5d6416e

Please sign in to comment.