mirror of
https://github.com/valitydev/fistful-server.git
synced 2024-11-06 02:35:18 +00:00
OPS-268: Adds default logger permissions (#63)
This commit is contained in:
parent
af151ab9f0
commit
d84edce7ec
@ -41,6 +41,8 @@ RUN echo "#!/bin/sh" >> /entrypoint.sh && \
|
||||
|
||||
# Setup user
|
||||
RUN groupadd --gid ${USER_GID} ${SERVICE_NAME} && \
|
||||
mkdir /var/log/${SERVICE_NAME} && \
|
||||
chown ${USER_UID}:${USER_GID} /var/log/${SERVICE_NAME} && \
|
||||
useradd --uid ${USER_UID} --gid ${USER_GID} -M ${SERVICE_NAME}
|
||||
USER ${SERVICE_NAME}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user