HummingBirdAnimeClient/build/docker_install.sh

15 lines
467 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:38:56 -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-12-06 11:16:47 -05:00
# apk upgrade --update
# && apk add --no-cache \
# curl \
# git \
# ipv6