FROM wordpress:cli-php7.4 AS wordpress-builder USER root COPY ["rootfs", "/"] WORKDIR "/wp" ENV UID 1000 ENV GID 1000 ENV WP_LOCALE "en_US" ARG WP_VERSION "5.8.0" ENV WP_VERSION "${WP_VERSION}" ENTRYPOINT ["/wp/entrypoint.sh"]