mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-13 06:06:38 +00:00
Replace templated Dockerfiles with plain Dockerfiles for web-app-littlejs, web-app-openproject, web-app-roulette-wheel, and web-app-wordpress. Variables are passed as Docker ARG without defaults, keeping config/main.yml and vars/main.yml as the single source of truth. Build args are declared in compose.yml.j2 directly after the build.yml.j2 lookup. Image and version for roulette-wheel and littlejs are added to config/main.yml and exposed via vars/main.yml. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
18 lines
511 B
Docker
18 lines
511 B
Docker
ARG WORDPRESS_IMAGE
|
|
ARG WORDPRESS_VERSION
|
|
FROM ${WORDPRESS_IMAGE}:${WORDPRESS_VERSION}
|
|
|
|
# Install msmtp and update system
|
|
RUN apt-get update && \
|
|
apt-get install -y msmtp msmtp-mta && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install WP CLI
|
|
RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && \
|
|
chmod +x wp-cli.phar && \
|
|
mv wp-cli.phar /usr/local/bin/wp
|
|
|
|
ARG WORDPRESS_CONFIG_UPLD_REL
|
|
# Copy PHP upload settings
|
|
COPY ${WORDPRESS_CONFIG_UPLD_REL} $PHP_INI_DIR/conf.d/
|