mirror of
https://git.suyu.dev/suyu/build-environments.git
synced 2026-01-03 21:24:55 +01:00
Update the docker images to run as yuzu user (UID 1027)
This commit is contained in:
parent
a222fcd7a7
commit
2f78410b2b
5 changed files with 15 additions and 11 deletions
|
|
@ -1,7 +1,6 @@
|
|||
FROM ubuntu:20.04
|
||||
MAINTAINER yuzu
|
||||
|
||||
RUN useradd -m -s /bin/bash yuzu && DEBIAN_FRONTEND=noninteractive apt-get update \
|
||||
RUN useradd -m -u 1027 -s /bin/bash yuzu && DEBIAN_FRONTEND=noninteractive apt-get update \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get -y full-upgrade \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
|
||||
flatpak flatpak-builder \
|
||||
|
|
@ -11,6 +10,7 @@ RUN useradd -m -s /bin/bash yuzu && DEBIAN_FRONTEND=noninteractive apt-get updat
|
|||
wget git ccache cmake \
|
||||
ninja-build dnsutils gnupg2 \
|
||||
sshfs fuse elfutils \
|
||||
&& rm -Rf /var/lib/apt/lists/* \
|
||||
&& apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/apt /var/lib/dpkg /var/lib/cache /var/lib/log \
|
||||
&& flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo \
|
||||
&& flatpak install -v -y flathub org.kde.Platform//5.13 org.kde.Sdk//5.13
|
||||
USER 1027
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue