Skip to content

Commit a794a99

Browse files
committed
chore: delete default plugins on install
1 parent 826dfe5 commit a794a99

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ RUN cd /tmp \
2424
&& wget http://wordpress.org/wordpress-${WP_VERSION}.zip \
2525
&& unzip wordpress-${WP_VERSION}.zip \
2626
&& rm -rf /tmp/wordpress/wp-content/themes/* \
27+
&& rm -rf /tmp/wordpress/wp-content/plugins/* \
2728
&& cp -avr /tmp/wordpress/* /var/www/html/. \
2829
&& rm -rf /tmp/wordpress /tmp/wordpress-${WP_VERSION}.zip
2930

@@ -34,4 +35,4 @@ RUN find /var/www/ -type f -exec chmod 644 {} \;
3435

3536
# make the linters executable so we can run them from containers
3637
RUN chmod +x vendor/bin/phpcs
37-
RUN chmod +x vendor/bin/twigcs
38+
RUN chmod +x vendor/bin/twigcs

0 commit comments

Comments
 (0)