mirror of
https://git.suyu.dev/suyu/build-environments.git
synced 2025-12-23 15:54:29 +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,6 +1,8 @@
|
|||
FROM ubuntu:20.04
|
||||
MAINTAINER yuzu
|
||||
RUN useradd -m -s /bin/bash yuzu && \
|
||||
# Create a user account yuzu (UID 1027) that the container will run as
|
||||
RUN useradd -m -u 1027 -s /bin/bash yuzu && \
|
||||
apt-get update && apt-get -y full-upgrade && \
|
||||
apt-get install -y git clang-format-6.0 && \
|
||||
apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/apt /var/lib/dpkg /var/lib/cache /var/lib/log
|
||||
USER 1027
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue