Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (28 sloc) 660 Bytes
FROM php:7.2-cli-alpine
ENV COMPOSER_ALLOW_SUPERUSER 1
ENV TZ Asia/Tokyo
RUN apk add --no-cache --allow-untrusted \
libxml2 \
&& apk add --no-cache --virtual=.build-deps --allow-untrusted \
tzdata \
pcre-dev \
libxml2-dev \
gcc \
g++ \
make \
autoconf \
&& pecl install -o -f \
xdebug \
protobuf \
grpc \
&& docker-php-ext-enable \
opcache \
xdebug \
protobuf \
grpc \
&& apk del .build-deps \
&& apk del *-dev \
&& rm -rf /tmp/pear \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
&& mkdir -p /project/
WORKDIR /project
You can’t perform that action at this time.