remove user

This commit is contained in:
gOOvER
2023-08-06 12:51:30 +02:00
parent efebbd6edf
commit 96c591862f
3 changed files with 3 additions and 21 deletions

View File

@@ -19,7 +19,7 @@ RUN apt update
RUN apt install --install-recommends winehq-staging cabextract wine-binfmt -y
# Set up Winetricks
RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \
RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \
&& chmod +x /usr/sbin/winetricks
ENV HOME=/home/container
@@ -32,11 +32,5 @@ ENV DISPLAY_DEPTH=16
ENV AUTO_UPDATE=1
ENV XVFB=1
## Setup user and working directory
RUN useradd -m -d /home/container -s /bin/bash container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]