banker/build/docker_install.sh
Timothy J. Warren 1a4553cb4c
Some checks failed
Gitea - aviat/banker/pipeline/head There was a failure building this commit
Attempt to run CI in stages
2021-02-05 16:06:54 -05:00

17 lines
322 B
Bash

#!/bin/bash
# We need to install dependencies only for Docker
[[ ! -e /.dockerenv ]] && [[ ! -e /.dockerinit ]] && exit 0
set -xe
apt-get update && apt-get install -y \
libz-dev \
libmemcached-dev \
git \
curl
docker-php-ext-install zip
pecl install apcu
pecl install memcached
docker-php-ext-enable apcu memcached