-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (29 loc) · 713 Bytes
/
Dockerfile
File metadata and controls
34 lines (29 loc) · 713 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
28
29
30
31
32
33
34
FROM phusion/baseimage:0.10.1
LABEL maintainer="nick@foobar.net.nz"
RUN apt-get update -qqy \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qqy \
php-cli \
php-curl \
php-gd \
php-http \
php-imagick \
php-json \
php-log \
php-mbstring \
php-memcache \
php-mysqli \
php-oauth \
bash-completion \
curl \
git \
jq \
less \
mysql-client \
zip \
&& apt-get clean -y
RUN phpenmod curl gd imagick json mbstring memcache mysqli oauth opcache
COPY --from=composer:1.6.5 /usr/bin/composer /usr/local/bin/composer
COPY --from=wordpress:cli-1.5.1-php7.0 /usr/local/bin/wp /usr/local/bin/wp
RUN useradd -m -s /bin/bash wp \
&& composer -V \
&& wp --allow-root cli version