Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
Remove unnecessary commands from Dockerfile.
Browse files Browse the repository at this point in the history
Update README.md.
  • Loading branch information
kengggg committed Feb 25, 2017
1 parent 9932c34 commit 393f252
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ RUN apk add --no-cache --virtual .build-deps \
&& apk add --virtual .phpext-rundeps $runDeps \
&& apk del .build-deps

RUN adduser -D deployer -s /bin/bash -G www-data

RUN { \
echo 'opcache.memory_consumption=128'; \
echo 'opcache.interned_strings_buffer=8'; \
Expand All @@ -52,8 +50,6 @@ RUN { \
echo 'opcache.enable_cli=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini

VOLUME /var/www/html

RUN curl -o wordpress.tar.gz -SL $WP_DOWNLOAD_URL \
&& echo "$WP_SHA1 *wordpress.tar.gz" | sha1sum -c - \
&& tar -xzf wordpress.tar.gz -C /usr/src/ \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
[![Docker Automated buil](https://img.shields.io/docker/automated/opendream/wordpress-fpm.svg)](https://hub.docker.com/r/opendream/wordpress-fpm/)

# Wordpress-FPM
A Docker container for latest version of PHP-FPM and Wordpress. 😏
A lightweight (~55MB) Docker container for latest version of PHP-FPM and Wordpress. 🙏

This image is based on PHP's [fpm-alpine image](https://hub.docker.com/_/php/) with additional PHP extensions: `gd` `mysqli` `opcache` and `imagick`. Additional extensions will be maintained at best effort.

## Version:

* `latest` based on **Wordpress**: `4.7.2` and **PHP-FPM**: `7.1.2` [Dockerfile](https://github.com/opendream/wordpress-fpm/blob/master/Dockerfile)
* `4.7.2` based on **Wordpress**: `4.7.2` and **PHP-FPM**: `7.1.2` ([Dockerfile])(https://github.com/opendream/wordpress-fpm/blob/master/Dockerfile)

0 comments on commit 393f252

Please sign in to comment.