diff --git a/nixos/atitraining/Dockerfile b/nixos/atitraining/Dockerfile index 28773a3..9285f39 100644 --- a/nixos/atitraining/Dockerfile +++ b/nixos/atitraining/Dockerfile @@ -5,17 +5,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ less \ default-mysql-client \ unzip \ + subversion \ && curl -sL -o /usr/local/bin/wp \ https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \ && chmod +x /usr/local/bin/wp \ && rm -rf /var/lib/apt/lists/* -# Pre-install the p2 theme. -# p2 turns WordPress into a real-time microblog stream (Twitter-like) — -# intentionally weird for a traditional blog context. -RUN curl -sL https://downloads.wordpress.org/theme/p2.zip -o /tmp/p2.zip \ - && unzip -q /tmp/p2.zip -d /var/www/html/wp-content/themes/ \ - && rm /tmp/p2.zip \ +# Pre-install the p2 theme via SVN (removed from downloads.wordpress.org). +RUN svn export https://themes.svn.wordpress.org/p2/1.5.8/ /var/www/html/wp-content/themes/p2 \ && chown -R www-data:www-data /var/www/html/wp-content/themes/p2 # Tell WordPress it's behind an HTTPS reverse proxy