Skip to content

Commit 9ab68a5

Browse files
committed
Added composer as dependency
1 parent 731c0a0 commit 9ab68a5

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

Dockerfile

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,18 @@ RUN apk update
77
RUN apk add \
88
bash \
99
unzip \
10-
ca-certificates
10+
ca-certificates \
11+
openssh \
12+
g++ \
13+
make \
14+
zlib-dev \
15+
libpng-dev
16+
17+
# Install Composer
18+
19+
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
20+
php composer-setup.php --filename=composer --install-dir=/usr/local/bin; \
21+
php -r "unlink('composer-setup.php');"
1122

1223
# Install Node 8
1324

0 commit comments

Comments
 (0)