From ea82b1a644f7d3c751d4b1f4dae8f8910c717152 Mon Sep 17 00:00:00 2001 From: Dedy Martadinata S Date: Fri, 1 Jul 2022 12:18:17 +0700 Subject: [PATCH] Set right user to run Change user to run rootless. --- .github/workflows/Dockerfile.ci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Dockerfile.ci b/.github/workflows/Dockerfile.ci index ce5cd22..36388bc 100644 --- a/.github/workflows/Dockerfile.ci +++ b/.github/workflows/Dockerfile.ci @@ -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"]