HummingBirdAnimeClient/build/docker_install.sh

13 lines
453 B
Bash
Raw Normal View History

#!/bin/bash
# We need to install dependencies only for Docker
[[ ! -e /.dockerenv ]] && [[ ! -e /.dockerinit ]] && exit 0
set -xe
# Install git (the php image doesn't have it) which is required by composer
2017-10-19 18:34:11 -04:00
#echo -e 'http://dl-cdn.alpinelinux.org/alpine/edge/main\nhttp://dl-cdn.alpinelinux.org/alpine/edge/community\nhttp://dl-cdn.alpinelinux.org/alpine/edge/testing' > /etc/apk/repositories
2017-02-15 09:53:46 -05:00
apk upgrade --update && apk add --no-cache \
2017-02-15 09:21:08 -05:00
curl \
2017-10-19 18:34:11 -04:00
git