Browse Source

tool: Pre-populate user data to improve unit tests performance

pull/161/head
jld3103 2 years ago
parent
commit
c4bb01966e
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 3
      tool/Dockerfile.dev

3
tool/Dockerfile.dev

@ -15,4 +15,7 @@ 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
COPY --chown=www-data:www-data overlay /usr/src/nextcloud/

Loading…
Cancel
Save