mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-02 06:29:01 +00:00
remove user
This commit is contained in:
1 parent
efebbd6edf
commit
96c591862f
3 files changed
+3
-21
No files matched your search
@@ -19,7 +19,7 @@ RUN apt update
|
||||
RUN apt install --install-recommends winehq-devel 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" ]
|
||||
@@ -19,7 +19,7 @@ RUN apt update
|
||||
RUN apt install --install-recommends winehq-stable 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" ]
|
||||
@@ -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