File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 9
9
10
10
11
11
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
12
+ export NVM_DIR=" $HOME /.nvm"
13
+ [ -s " $NVM_DIR /nvm.sh" ] && \. " $NVM_DIR /nvm.sh"
14
+
12
15
source ~ /.bashrc; nvm install node
13
16
14
17
php /var/www/html/occ log:manage --level warning
Original file line number Diff line number Diff line change 6
6
# SPDX-License-Identifier: MIT
7
7
#
8
8
9
+ wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
9
10
apt-get update && apt-get install -y composer
10
11
mkdir /var/www/.nvm /var/www/.npm
11
12
touch /var/www/.bashrc
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Nextcloud Android Library
4
+ #
5
+ # SPDX-FileCopyrightText: 2024 Tobias Kaminsky <[email protected] >
6
+ # SPDX-License-Identifier: MIT
7
+ #
8
+
9
+ if [[ $# -ne 1 ]]; then
10
+ echo " please specify stable29 or master as first parameter"
11
+ exit
12
+ fi
13
+
14
+ docker stop testNC
15
+ docker rm testNC
16
+ docker run --name=testNC ghcr.io/nextcloud/continuous-integration-shallow-server:latest &
17
+ sleep 60
18
+
19
+ docker cp ../.github/workflows/configServer.sh testNC:/tmp/
20
+ docker exec testNC chmod +x /tmp/configServer.sh
21
+ docker exec testNC /tmp/configServer.sh $1
22
+ docker cp ../.github/workflows/configNC_$1 .sh testNC:/tmp/
23
+ docker exec testNC chmod +x /tmp/configNC_$1 .sh
24
+ docker exec --user www-data testNC /tmp/configNC_$1 .sh
25
+
26
+ echo " Docker IP Address is:"
27
+ docker inspect -f ' {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' testNC
You can’t perform that action at this time.
0 commit comments