mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-23 16:06:51 +00:00
adjust things
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
2371dfd296
commit
01e8e11fa2
5 changed files with 45 additions and 47 deletions
|
|
@ -8,7 +8,6 @@ RUN set -ex; \
|
|||
apt-get update; \
|
||||
apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
openssl \
|
||||
; \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
|
@ -17,12 +16,5 @@ COPY --from=watchtower /watchtower /
|
|||
COPY start.sh /
|
||||
RUN chmod +x /start.sh
|
||||
|
||||
# Give root a random password
|
||||
RUN echo "root:$(openssl rand -base64 12)" | chpasswd
|
||||
|
||||
# add docker group
|
||||
RUN groupadd -g 998 docker && \
|
||||
usermod -aG docker nobody
|
||||
|
||||
USER nobody
|
||||
USER root
|
||||
ENTRYPOINT ["/start.sh"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue