diff --git a/images/alpine/3.10/Dockerfile b/images/alpine/3.10/Dockerfile new file mode 100644 index 0000000..69d9ab3 --- /dev/null +++ b/images/alpine/3.10/Dockerfile @@ -0,0 +1 @@ +FROM alpine:3.10 diff --git a/images/alpine/3.8/Dockerfile b/images/alpine/3.8/Dockerfile new file mode 100644 index 0000000..ecb85cf --- /dev/null +++ b/images/alpine/3.8/Dockerfile @@ -0,0 +1,56 @@ +FROM alpine:3.8 + +RUN apk update && \ + apk add --no-cache git \ + php \ + wget \ + curl \ + php7-mbstring \ + php7-mcrypt \ + php7-pdo \ + php7-xml \ + php7-json \ + php7-session \ + php7-fpm \ + php7-openssl \ + php7-phar \ + php7-zip \ + php7-dom \ + php7-xml \ + php7-xmlwriter \ + php7-tokenizer \ + php7-pdo_sqlite + +RUN apk add --no-cache --virtual \ + build-dependencies \ + build-base \ + bash \ + make \ + gcc \ + php7-dev && \ + cd /opt && \ + rm -rf cphalcon && \ + git clone --branch '4.0.x' "git://github.com/phalcon/cphalcon.git" && \ + cd cphalcon/build && \ + ./install && \ + + cd /opt && \ + rm -rf php-psr && \ + git clone https://github.com/jbboehr/php-psr.git && \ + cd php-psr && \ + phpize && \ + ./configure && \ + make && make install && \ + + echo -e "extension=psr.so \nextension=phalcon.so" > /etc/php7/conf.d/00_phalcon.ini && \ + + apk del build-dependencies \ + build-base \ + make \ + gcc \ + php7-dev && \ + rm -rf /tmp/* + +EXPOSE 9000 80 443 + +CMD php-fpm7 -F -R diff --git a/images/alpine/3.9/Dockerfile b/images/alpine/3.9/Dockerfile new file mode 100644 index 0000000..35df96c --- /dev/null +++ b/images/alpine/3.9/Dockerfile @@ -0,0 +1 @@ +FROM alpine:3.9 \ No newline at end of file diff --git a/images/alpine/edge/Dockerfile b/images/alpine/edge/Dockerfile new file mode 100644 index 0000000..12e318a --- /dev/null +++ b/images/alpine/edge/Dockerfile @@ -0,0 +1,3 @@ +FROM alpine:edge + +