ci-create-docker-server.sh 481 B

123456789101112131415
  1. #!/usr/bin/env bash
  2. # Based on the script from Milen Pivchev in nextcloud/ios repository
  3. # SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
  4. # SPDX-License-Identifier: GPL-3.0-or-later
  5. # This script starts a nextcloud test instance
  6. echo "Creating nextcloud instance for branch $TEST_BRANCH..."
  7. docker run --rm -d \
  8. --name $CONTAINER_NAME \
  9. -e SERVER_BRANCH=$TEST_BRANCH \
  10. -p $SERVER_PORT:80 \
  11. ghcr.io/juliushaertl/nextcloud-dev-php81:latest