remove user
This commit is contained in:
@@ -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" ]
|
||||
|
Reference in New Issue
Block a user