FROM wordpress:5.8.2-php7.4-fpm
# TODO: use renovate-bot to send pull requests on upstream image updates
COPY --from=composer:2.1 /usr/bin/composer /usr/bin/composer
RUN apt-get update && apt-get install -y \
git \
unzip && \
rm -rf /var/lib/apt/lists/*
# Upstream Wordpress entrypoint, adapted for Composer use
COPY docker-entrypoint.sh /usr/local/bin/