Browse Source

Merge pull request #1072 from nextcloud/fix/tool/send-push-notification-test

pull/1074/head
Kate 1 year ago committed by GitHub
parent
commit
212a6c6edc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tool/Dockerfile.dev
  2. 2
      tool/send-push-notification-test.sh

2
tool/Dockerfile.dev

@ -2,6 +2,8 @@ ARG SERVER_VERSION=27.1.3-fpm-alpine@sha256:f1a13c7f60a9e9f5dcf14b7cb097083833ea
FROM nextcloud:$SERVER_VERSION
WORKDIR /usr/src/nextcloud
RUN chown -R www-data:www-data .
USER www-data
RUN ./occ maintenance:install --admin-pass admin --admin-email admin@example.com
RUN ./occ config:system:set allow_local_remote_servers --value=true

2
tool/send-push-notification-test.sh

@ -3,4 +3,4 @@ set -euxo pipefail
cd "$(dirname "$0")/.."
source tool/common.sh
docker exec -it "$(docker ps | grep "$(image_tag "dev:latest")" | cut -d " " -f 1)" /bin/bash -c "php -f occ notification:test-push $*"
docker exec -it "$(docker ps | grep "$(image_tag "dev:latest")" | cut -d " " -f 1)" /bin/sh -c "php -f occ notification:test-push $*"

Loading…
Cancel
Save