Skip to content

Commit

Permalink
link box64-x86_64-linux-gnu libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol authored Dec 7, 2024
1 parent 3e5262c commit 04cd048
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ ENV DEBIAN_FRONTEND noninteractive

ENV DEBUGGER "/usr/local/bin/box86"

ENV LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:/usr/lib/box64-x86_64-linux-gnu"

# Set SHELL option explicitly
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

Expand Down Expand Up @@ -245,7 +247,8 @@ RUN set -x \
&& ln -s "${STEAMCMDDIR}/linux64/steamclient.so" "/usr/lib/x86_64-linux-gnu/steamclient.so" \
&& ln -s "${STEAMCMDDIR}/linux32/steamclient.so" "/usr/lib/i386-linux-gnu/steamclient.so" \
&& rm -rf /var/lib/apt/lists/* \
&& mv /usr/local/bin/box64 /usr/local/bin/box64-generic
&& mv /usr/local/bin/box64 /usr/local/bin/box64-generic \
&& (for file in /usr/lib/box64-x86_64-linux-gnu/*; do [ -e "/usr/lib/x86_64-linux-gnu/$(basename "$file")" ] || ln -s "$file" /usr/lib/x86_64-linux-gnu/; done)

COPY box64.sh /usr/local/bin/box64
RUN chmod +x /usr/local/bin/box64
Expand Down
5 changes: 4 additions & 1 deletion bullseye/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ ENV DEBIAN_FRONTEND noninteractive

ENV DEBUGGER "/usr/local/bin/box86"

ENV LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:/usr/lib/box64-x86_64-linux-gnu"

# Set SHELL option explicitly
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

Expand Down Expand Up @@ -244,7 +246,8 @@ RUN set -x \
&& ln -s "${STEAMCMDDIR}/linux64/steamclient.so" "/usr/lib/x86_64-linux-gnu/steamclient.so" \
&& ln -s "${STEAMCMDDIR}/linux32/steamclient.so" "/usr/lib/i386-linux-gnu/steamclient.so" \
&& rm -rf /var/lib/apt/lists/* \
&& mv /usr/local/bin/box64 /usr/local/bin/box64-generic
&& mv /usr/local/bin/box64 /usr/local/bin/box64-generic \
&& (for file in /usr/lib/box64-x86_64-linux-gnu/*; do [ -e "/usr/lib/x86_64-linux-gnu/$(basename "$file")" ] || ln -s "$file" /usr/lib/x86_64-linux-gnu/; done)

COPY box64.sh /usr/local/bin/box64
RUN chmod +x /usr/local/bin/box64
Expand Down

0 comments on commit 04cd048

Please sign in to comment.