From 58f3b8d0e65095224ca902c2aeb3732508cae63e Mon Sep 17 00:00:00 2001 From: Vitor Kiguchi Date: Tue, 4 Oct 2022 18:10:50 -0300 Subject: [PATCH] maybe fix dubious ownership issues --- linux-fresh/Dockerfile | 3 +++ linux-mingw/Dockerfile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/linux-fresh/Dockerfile b/linux-fresh/Dockerfile index 962c774..a4e6130 100644 --- a/linux-fresh/Dockerfile +++ b/linux-fresh/Dockerfile @@ -1,5 +1,8 @@ FROM ubuntu:22.04 LABEL maintainer="citraemu" ENV DEBIAN_FRONTEND=noninteractive + +# Create a user account citra (UID 1027) that the container will run as +RUN useradd -m -u 1027 -s /bin/bash citra RUN apt-get update && apt-get -y full-upgrade RUN apt-get install -y p7zip-full build-essential libsdl2-dev qtbase5-dev libqt5opengl5-dev qtmultimedia5-dev qttools5-dev qttools5-dev-tools libavcodec-dev libavfilter-dev libavformat-dev libswscale-dev wget git ccache cmake ninja-build diff --git a/linux-mingw/Dockerfile b/linux-mingw/Dockerfile index 20cee35..340abaf 100644 --- a/linux-mingw/Dockerfile +++ b/linux-mingw/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="citraemu" # Add mingw-repo "ownstuff" is a AUR with an up to date mingw64 # Runs pacman -Syu twice in order to work around pacman issues where the first run only updates the # current distro packages, and the second run actually pulls the updates from the repos. -RUN useradd -m -u 1027 -s /bin/bash yuzu && mkdir -p /tmp/pkgs && \ +RUN useradd -m -u 1027 -s /bin/bash citra && mkdir -p /tmp/pkgs && \ echo "[ownstuff]" >> /etc/pacman.conf && \ echo "SigLevel = Optional TrustAll" >> /etc/pacman.conf && \ echo "Server = https://martchus.no-ip.biz/repo/arch/ownstuff/os/\$arch" >> /etc/pacman.conf && \