Skip to content

Commit

Permalink
feat: moved locales from steam to base-app
Browse files Browse the repository at this point in the history
  • Loading branch information
ABeltramo committed Aug 24, 2024
1 parent a536351 commit 9ee5f89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 6 additions & 0 deletions images/base-app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,19 @@ ARG REQUIRED_PACKAGES="\
mesa-vulkan-drivers libgbm1 libgles2 libegl1 libgl1-mesa-dri \
libnvidia-egl-wayland1 libnvidia-egl-gbm1 \
fonts-noto-cjk \
locales \
"

RUN apt-get update -y && \
apt-get install -y --no-install-recommends \
$REQUIRED_PACKAGES && \
rm -rf /var/lib/apt/lists/*

# Some games with native Linux ports require en_US.UTF-8
# to be generated regardless of user locale settings
# see: https://github.com/games-on-whales/gow/pull/185
RUN locale-gen en_US.UTF-8

#################################
# GAMESCOPE
####
Expand Down
5 changes: 0 additions & 5 deletions images/steam/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ ARG REQUIRED_PACKAGES=" \
dbus-daemon dbus-system-bus-common dbus-session-bus-common whoopsie network-manager bluez \
mangoapp ibus curl pkexec xz-utils zenity file xdg-user-dirs xdg-utils lsof pciutils lsb-release mesa-utils \
libfontconfig1:i386 libfontconfig1:amd64 libfreetype6 libfreetype6:i386 \
locales \
"

RUN apt-get update -y && \
Expand Down Expand Up @@ -77,10 +76,6 @@ RUN rm /usr/bin/zenity && ln -s /usr/bin/true /usr/bin/zenity
# refresh system font cache. For font warnings on startup see: https://github.com/ValveSoftware/steam-runtime/issues/482
RUN fc-cache -f -v

# Some games with native Linux ports require en_US.UTF-8
# to be generated regardless of user locale settings
RUN locale-gen en_US.UTF-8

COPY --chmod=777 scripts/startup.sh /opt/gow/startup-app.sh
COPY --chmod=777 scripts/system-services.sh /etc/cont-init.d/system-services.sh
COPY --chmod=777 steamos-update /usr/bin/steamos-update
Expand Down

0 comments on commit 9ee5f89

Please sign in to comment.