remove user

This commit is contained in:
gOOvER committed 2023-08-06 12:51:30 +02:00
1 parent efebbd6edf
commit 96c591862f
3 files changed
-18

No files matched your search

-6
View File
@@ -32,11 +32,5 @@ ENV DISPLAY_DEPTH=16
ENV AUTO_UPDATE=1 ENV AUTO_UPDATE=1
ENV XVFB=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 COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ] CMD [ "/bin/bash", "/entrypoint.sh" ]
-6
View File
@@ -32,11 +32,5 @@ ENV DISPLAY_DEPTH=16
ENV AUTO_UPDATE=1 ENV AUTO_UPDATE=1
ENV XVFB=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 COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ] CMD [ "/bin/bash", "/entrypoint.sh" ]
-6
View File
@@ -32,11 +32,5 @@ ENV DISPLAY_DEPTH=16
ENV AUTO_UPDATE=1 ENV AUTO_UPDATE=1
ENV XVFB=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 COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ] CMD [ "/bin/bash", "/entrypoint.sh" ]