Commit 7801bc49 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Rename script mount points to avoid a name conflict

parent 9757ff9e
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -25,10 +25,10 @@ CMD ["/usr/sbin/nginx", "-g", "daemon off;"]

ARG php_version=
FROM php:${php_version:+$php_version-}fpm-alpine as deps
RUN --mount=type=bind,source=scripts/install-deps.sh,target=/stage /stage
RUN --mount=type=bind,source=scripts/install-deps.sh,target=/step /step

FROM deps as compile
RUN --mount=type=bind,source=scripts/compile.sh,target=/stage /stage
RUN --mount=type=bind,source=scripts/compile.sh,target=/step /step

FROM deps as fastcgi

@@ -42,8 +42,8 @@ COPY --from=compile /usr/local/etc/php /usr/local/etc/php
COPY --from=compile /usr/local/lib/php /usr/local/lib/php
COPY scripts/wp.sh /usr/local/bin/wp
COPY data/composer.json /app/composer.json
RUN --mount=type=bind,source=scripts/install-wp.sh,target=/stage \
    /stage ${wp_version}
RUN --mount=type=bind,source=scripts/install-wp.sh,target=/step \
    /step ${wp_version}

COPY plugins/* wp-content/mu-plugins/
COPY data/fpm.conf /usr/local/etc/php-fpm.d/image.conf