Files
Will Anderson 8c40075b81 fix: use custom WordPress image with wp-cli pre-installed
Adds a Dockerfile extending wordpress:latest to include wp-cli at
/usr/local/bin/wp. Required for sync-whitepapers.py to manage content
via kubectl exec without manual installation after each pod restart.
2026-04-09 00:09:00 -05:00

7 lines
251 B
Docker

FROM wordpress:latest
# Install wp-cli so sync-whitepapers.py can manage content via kubectl exec
RUN curl -sL https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
-o /usr/local/bin/wp \
&& chmod +x /usr/local/bin/wp