Skip to content

Commit

Permalink
Docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardomlima committed Jun 11, 2017
1 parent 614f3d6 commit 901d74b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FROM alpine:latest

MAINTAINER Ricardo Monteiro e Lima <[email protected]>

RUN apk add --update --upgrade bash git curl

RUN apk add php7 \
#REQUIRED BY COMPOSER
php7-json \
#REQUIRED BY COMPOSER
php7-phar \
#REQUIRED BY COMPOSER
php7-iconv \
#REQUIRED BY COMPOSER
php7-openssl \
#REQUIRED BY COMPOSER
php7-zlib \
#REQUIRED BY iconv
php7-mbstring \
php7-fpm

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
composer self-update

RUN composer global require "laravel/lumen-installer"

RUN ln -s /root/.composer/vendor/bin/lumen /bin/lumen

EXPOSE 9000

0 comments on commit 901d74b

Please sign in to comment.