-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
51 lines (43 loc) · 993 Bytes
/
Dockerfile
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
FROM ebiwd/alpine-ssh:3.13
LABEL maintainer [email protected]
ARG DRUSHVER=8.1.17
RUN apk add --no-cache \
curl \
git \
mysql-client \
patch \
wget \
zip \
jq \
php7 \
php7-ctype \
php7-curl \
php7-dom \
php7-fileinfo \
php7-gd \
php7-json \
php7-mbstring \
php7-mcrypt \
php7-mysqli \
php7-openssl \
php7-pcntl \
php7-pdo_sqlite \
php7-posix \
php7-phar \
php7-session \
php7-simplexml \
php7-sqlite3 \
php7-tokenizer \
php7-xml \
php7-xmlwriter \
php7-xmlreader \
php7-zlib \
php7-zip \
php7-iconv
RUN ln -svf /usr/bin/php7 /usr/bin/php
RUN echo 'memory_limit = -1' >> /etc/php7/conf.d/docker-php-memlimit.ini;
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
RUN composer global require drush/drush:${DRUSHVER} \
&& ln -s /root/.composer/vendor/bin/drush /usr/bin/drush
COPY files /
WORKDIR /workspace