2016-07-18 09:58:23 -04:00
|
|
|
#!/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-02-28 13:17:06 -05: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-02-28 13:17:06 -05:00
|
|
|
git
|