8c40075b81
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.
7 lines
251 B
Docker
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
|