nc-gpxedit/ci/docker_install.sh

24 lines
462 B
Bash
Raw Normal View History

2018-01-14 18:25:28 +00:00
#!/bin/bash
# We need to install dependencies only for Docker
[[ ! -e /.dockerenv ]] && exit 0
set -xe
apt-get update -yqq
apt-get install git -yqq
curl --location --output /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
chmod +x /usr/local/bin/phpunit
2018-01-14 18:36:57 +00:00
mkdir /data/apps -p
sudo -u nextcloud occ upgrade
sudo -u nextcloud occ maintenance:mode --off
2018-01-14 18:25:28 +00:00
cd /data/apps/
git clone https://gitlab.com/eneiluj/gpxedit-oc gpxedit
ls /data
ls /data/apps