Commit 11c1ee34 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Install password-hash plugin as a must-use plugin

parent 262a518b
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -46,7 +46,11 @@ COPY --from=compile /usr/local/etc/php /usr/local/etc/php
COPY --from=compile /usr/local/lib/php /usr/local/lib/php
RUN wp core download --skip-content --locale=en_GB --version=${wp_version} \
 && rm wp-config-sample.php \
 && mkdir -p media && chmod go+w media
 && mkdir --mode=go+w media \
 && mkdir -p wp-content/mu-plugins \
 && curl https://raw.githubusercontent.com/Ayesh/WordPress-Password-Hash/1.5.1/wp-php-password-hash.php \
  > wp-content/mu-plugins/password-hash.php \
 &&:

COPY opcache.ini /usr/local/etc/php/conf.d/opcache-recommended.ini
COPY entrypoint.sh /bin/entrypoint
+0 −3
Original line number Diff line number Diff line
@@ -90,9 +90,6 @@ setup() {
	wp language plugin update --all
	wp language theme update --all

	# Install required components
	wp plugin install --activate password-hash

	# Install configured components
	[[ ${#PLUGINS[*]} -gt 0 ]] && wp plugin install "${PLUGINS[@]}"
	[[ ${#THEMES[*]} -gt 0 ]] && wp theme install "${THEMES[@]}"