Update the docker images to run as yuzu user (UID 1027)

This commit is contained in:
James Rowe 2020-05-07 20:22:08 -06:00
parent a222fcd7a7
commit 2f78410b2b
5 changed files with 15 additions and 11 deletions

View file

@ -1,10 +1,11 @@
FROM alpine
MAINTAINER yuzu
RUN adduser -u 1000 -D -s /bin/bash yuzu && \
apk update && apk add build-base && \
RUN adduser -u 1027 -D -s /bin/bash yuzu && \
apk update && apk add build-base \
cmake \
python3-dev \
qt5-qttools-dev \
qt5-qtmultimedia-dev && \
pip3 install transifex-client && \
apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/apt /var/lib/dpkg /var/lib/cache /var/lib/log/
rm -rf /var/cache/apk/*
USER 1027