Skip to content

Commit

Permalink
Merge pull request #6 from fuwalab/fix/issue_5
Browse files Browse the repository at this point in the history
fix issue for #5
  • Loading branch information
ryotsun committed Jan 12, 2019
2 parents da36db8 + 7a9fe95 commit d8267a1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
FROM php:7.2-fpm-alpine
RUN apk --no-cache add zlib-dev \
RUN apk --no-cache add zlib-dev shadow \
&& docker-php-ext-install zip pdo_mysql mysqli

# change uid and gid of www-data
RUN usermod -u 1000 www-data && groupmod -g 1000 www-data

# install composer
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer \
Expand Down

0 comments on commit d8267a1

Please sign in to comment.