chore(): update dockerfile

pull/14/head
Hardware 2017-03-12 18:49:45 +01:00
parent a9947a4053
commit d61a0ccd91
No known key found for this signature in database
GPG Key ID: EC6DF6F90263EDEA
1 changed files with 17 additions and 16 deletions

View File

@ -1,29 +1,30 @@
FROM alpine:latest FROM alpine:3.5
MAINTAINER xataz <https://github.com/xataz>
MAINTAINER hardware <https://github.com/hardware> LABEL description "Next-generation forum software that makes online discussion fun" \
maintainer="Hardware <hardware@mondedie.fr>, Magicalex <magicalex@mondedie.fr>"
ARG VERSION=v0.1.0-beta.6 ARG VERSION=v0.1.0-beta.6
ENV GID=991 UID=991 ENV GID=991 UID=991
RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \ RUN echo "@community https://nl.alpinelinux.org/alpine/v3.5/community" >> /etc/apk/repositories \
&& apk -U add \ && apk -U add \
nginx \ nginx \
s6 \ s6 \
su-exec \ su-exec \
curl \ curl \
php7-phar@commuedge \ php7-phar@community \
php7-fpm@commuedge \ php7-fpm@community \
php7-curl@commuedge \ php7-curl@community \
php7-mbstring@commuedge \ php7-mbstring@community \
php7-openssl@commuedge \ php7-openssl@community \
php7-json@commuedge \ php7-json@community \
php7-pdo_mysql@commuedge \ php7-pdo_mysql@community \
php7-gd@commuedge \ php7-gd@community \
php7-dom@commuedge \ php7-dom@community \
php7-ctype@commuedge \ php7-ctype@community \
php7-session@commuedge \ php7-session@community \
php7-opcache@commuedge \ php7-opcache@community \
&& cd /tmp \ && cd /tmp \
&& ln -s /usr/bin/php7 /usr/bin/php \ && ln -s /usr/bin/php7 /usr/bin/php \
&& curl -s http://getcomposer.org/installer | php \ && curl -s http://getcomposer.org/installer | php \