-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (24 loc) · 803 Bytes
/
Dockerfile
File metadata and controls
27 lines (24 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM circleci/php:5.6-cli-node-browsers
# Packages
RUN sudo apt-get update && sudo apt-get install -y \
apt-transport-https \
curl \
gnupg1-curl \
libmcrypt-dev \
libxml2-dev \
moreutils \
mysql-client \
vim \
wget \
zlib1g-dev \
libpng-dev \
--no-install-recommends && sudo rm -r /var/lib/apt/lists/* \
&& sudo docker-php-ext-install mcrypt soap zip gd \
&& curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
# Composer
RUN composer global require codacy/coverage "phpunit/phpcov:~3.0" "phpunit/phpunit:^5.7" "sensiolabs/security-checker:^3.0"
# NVM
RUN export NVM_DIR="$HOME/.nvm" \
&& [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" \
&& [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" \
&& nvm install 8.9.1