mirror of
https://github.com/nitnelave/lldap.git
synced 2023-04-12 14:25:13 +00:00
Set right user to run
Change user to run rootless.
This commit is contained in:
parent
429952c46f
commit
ea82b1a644
2
.github/workflows/Dockerfile.ci
vendored
2
.github/workflows/Dockerfile.ci
vendored
@ -63,6 +63,6 @@ RUN apt update && \
|
||||
COPY --from=lldap --chown=$CONTAINERUSER:$CONTAINERUSER /lldap /app
|
||||
COPY --from=lldap --chown=$CONTAINERUSER:$CONTAINERUSER /docker-entrypoint.sh /docker-entrypoint.sh
|
||||
WORKDIR /app
|
||||
USER $CONTAINERUSER
|
||||
USER $USER
|
||||
ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
|
||||
CMD ["run", "--config-file", "/data/lldap_config.toml"]
|
||||
|
Loading…
Reference in New Issue
Block a user