Skip to content

Commit

Permalink
fix WP install v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Buburoi committed Mar 14, 2023
1 parent 5f06b0b commit 7cec880
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wordpress/6-apache/Dockerfile
Expand Up @@ -4,7 +4,7 @@ FROM php:8.1-apache
LABEL vendor="Artifakt" \
author="engineering@artifakt.io" \
stage="alpha"

ENV DOCKER_BUILDKIT=1
HEALTHCHECK --interval=1m --timeout=30s --retries=3 CMD curl --fail http://localhost || exit 1

# persistent dependencies
Expand Down Expand Up @@ -122,7 +122,8 @@ RUN set -eux; \

# run custom scripts wordpress_install.sh
# hadolint ignore=SC1091
RUN --mount=source=artifakt-custom-build-args,target=/tmp/build-args \
RUN export DOCKER_BUILDKIT=1 \
--mount=source=artifakt-custom-build-args,target=/tmp/build-args \
if [ -f /tmp/build-args ]; then source /tmp/build-args; fi && \
if [ -f /artifakt_scripts/wordpress_install.sh ]; then /artifakt_scripts/wordpress_install.sh; fi

Expand Down

0 comments on commit 7cec880

Please sign in to comment.