Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ WORKDIR /var/www/wp-content
RUN chown -R nobody.nobody /var/www

# WordPress
ENV WORDPRESS_VERSION 5.1.1
ENV WORDPRESS_SHA1 f1bff89cc360bf5ef7086594e8a9b68b4cbf2192
ENV WORDPRESS_VERSION 5.2
ENV WORDPRESS_SHA1 36459a4621b9e1909c606a98d08625b9e0e25bbc

RUN mkdir -p /usr/src

# Upstream tarballs include ./wordpress/ so this gives us /usr/src/wordpress
RUN curl -o wordpress.tar.gz -SL https://wordpress.org/wordpress-${WORDPRESS_VERSION}.tar.gz \
&& echo "$WORDPRESS_SHA1 *wordpress.tar.gz" | sha1sum -c - \
&& tar -xzf wordpress.tar.gz -C /usr/src/ \
&& rm wordpress.tar.gz \
&& rm wordpress.tar.gz \
&& chown -R nobody.nobody /usr/src/wordpress

# Add WP CLI
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Lightweight WordPress container with Nginx 1.14 & PHP-FPM 7.2 based on Alpine Linux.

_WordPress version currently installed:_ **5.1.1**
_WordPress version currently installed:_ **5.2**

* Used in production for my own sites, making it stable, tested and up-to-date
* Optimized for 100 concurrent users
Expand Down