From 9e038f52185a690f6ac3bb3185c79686e69b2e67 Mon Sep 17 00:00:00 2001 From: Dedy Martadinata S Date: Fri, 17 Mar 2023 22:23:53 +0700 Subject: [PATCH] docker: use correct username for chown --- .github/workflows/Dockerfile.ci.alpine | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Dockerfile.ci.alpine b/.github/workflows/Dockerfile.ci.alpine index 504a2e4..ef610a6 100644 --- a/.github/workflows/Dockerfile.ci.alpine +++ b/.github/workflows/Dockerfile.ci.alpine @@ -98,8 +98,8 @@ RUN apk add --no-cache tini ca-certificates bash tzdata && \ "$USER" && \ mkdir -p /data && \ chown $USER:$USER /data -COPY --from=lldap --chown=$CONTAINERUSER:$CONTAINERUSER /lldap /app -COPY --from=lldap --chown=$CONTAINERUSER:$CONTAINERUSER /docker-entrypoint.sh /docker-entrypoint.sh +COPY --from=lldap --chown=$USER:$USER /lldap /app +COPY --from=lldap --chown=$USER:$USER /docker-entrypoint.sh /docker-entrypoint.sh VOLUME ["/data"] WORKDIR /app ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]