Files
talk-ios/ci-create-docker-server.sh
2026-02-27 18:14:17 +01:00

15 lines
480 B
Bash
Executable File

#!/usr/bin/env bash
# Based on the script from Milen Pivchev in nextcloud/ios repository
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: GPL-3.0-or-later
# This script starts a nextcloud test instance
echo "Creating nextcloud instance for branch $TEST_BRANCH..."
docker run --rm -d \
--name $CONTAINER_NAME \
-e SERVER_BRANCH=$TEST_BRANCH \
-p $SERVER_PORT:80 \
ghcr.io/juliusknorr/nextcloud-dev-php82:latest