rename user to cronicle

This commit is contained in:
2023-05-27 18:46:23 +00:00
parent b932a8d2f1
commit 1089abc2cb
4 changed files with 10 additions and 13 deletions

View File

@ -27,8 +27,8 @@ RUN apk update && apk add tzdata curl shadow bash xz git procps nodejs npm
RUN mkdir /config && \
mkdir /app && \
#Create default user
useradd -u 1000 -U -d /config -s /bin/false mrmeeb && \
usermod -G users mrmeeb
useradd -u 1000 -U -d /config -s /bin/false cronicle && \
usermod -G users cronicle
#Install s6-overlay
RUN curl -fsSL "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz" | tar Jpxf - -C / && \
@ -44,9 +44,6 @@ RUN npm install && \
node bin/build dist
RUN rm -rf /app/cronicle/Docker* .vscode
#Create Cronicle user, necessary for SSH plugin with default settings
RUN adduser --disabled-password --no-create-home cronicle
COPY root/ /
RUN chmod +x /cronicle-prepare.sh && \
chmod +x /container-init.sh