From f9deebaa06241d11567225d3556ceed80af41140 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Mon, 20 Feb 2023 17:10:29 +0100 Subject: [PATCH] tool: Disable user initialization hack --- tool/Dockerfile.dev | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tool/Dockerfile.dev b/tool/Dockerfile.dev index 51d3fcf9..93d3417f 100644 --- a/tool/Dockerfile.dev +++ b/tool/Dockerfile.dev @@ -15,7 +15,8 @@ RUN ./occ app:install news RUN ./occ app:install notes RUN ./occ app:enable password_policy -RUN (bash /entrypoint.sh apache2-foreground &) && \ - until curl -s -o /dev/null http://localhost/status.php; do true; done && \ - for user in admin user1 user2; do curl -u "$user:$user" -H "ocs-apirequest: true" -s -o /dev/null http://localhost/ocs/v2.php/cloud/user; done +# TODO: This stopped working randomly with apache not being able to bind to the port during build. Must be some docker changes? +#RUN (bash /entrypoint.sh apache2-foreground &) && \ +# until curl -s -o /dev/null http://localhost/status.php; do true; done && \ +# for user in admin user1 user2; do curl -u "$user:$user" -H "ocs-apirequest: true" -s -o /dev/null http://localhost/ocs/v2.php/cloud/user; done COPY --chown=www-data:www-data overlay /usr/src/nextcloud/