From 81270f8d5dc42a1d112f86e12261847d6e827ea8 Mon Sep 17 00:00:00 2001 From: soyuka Date: Mon, 9 Sep 2024 11:54:53 +0200 Subject: [PATCH] fix: link dependencies when cloning core --- pwa/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pwa/Dockerfile b/pwa/Dockerfile index f2e6ba9e..96dfbd0f 100644 --- a/pwa/Dockerfile +++ b/pwa/Dockerfile @@ -23,7 +23,9 @@ COPY --from=composer /usr/bin/composer /usr/bin/composer # this is used to preload data see phpwasm RUN git clone -b main --single-branch --depth=1 https://github.com/api-platform/core core.docs && \ cd core.docs/docs && \ - composer install + composer global require soyuka/pmu && \ + composer global config allow-plugins.soyuka/pmu true --no-interaction && \ + composer global link . --permanent FROM soyuka/php-wasm:8.2.9 as phpwasm # We want soyuka/php-wasm to compile without js optimisation so that we can `sed`