Public Repository

Last pushed: 5 months ago
Short Description
PHP 7 FPM docker image based on alpine
Full Description

https://github.com/jorge07/alpine-php

FROM bravist/php-cli-alpine-app:1.0

MAINTAINER bravist chenghuiyong1987@gmail.com

https://pkgs.alpinelinux.org/packages

Mirror mirror switch to Ali-OSM (Alibaba Open Source Mirror Site) - http://mirrors.aliyun.com/

RUN echo 'http://mirrors.aliyun.com/alpine/latest-stable/main' >> /etc/apk/repositories \

&& echo 'http://mirrors.aliyun.com/alpine/latest-stable/community' >> /etc/apk/repositories

Mirror mirror switch to Alpine Linux - http://dl-4.alpinelinux.org/alpine/

RUN apk update \
&& apk upgrade \
&& apk add \
php7-fpm \

 && rm -rf /var/cache/apk/* 

CMD ["/usr/sbin/php-fpm7", "-R", "--nodaemonize"]

EXPOSE 9000

Docker Pull Command
Owner
bravist