From d9ca5e0dede112bca77b766fc353cc5102470d83 Mon Sep 17 00:00:00 2001 From: "Moritz Schubotz (physikerwelt)" Date: Sun, 23 Jul 2023 22:07:21 +0200 Subject: [PATCH] Overwrite normal composer with custom build --- 2.5/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/2.5/Dockerfile b/2.5/Dockerfile index 09da5fb..3abc7cf 100644 --- a/2.5/Dockerfile +++ b/2.5/Dockerfile @@ -81,6 +81,12 @@ RUN set -eux ; \ composer diagnose ; \ rm -f /tmp/installer.php ; \ find /tmp -type d -exec chmod -v 1777 {} + + +#overwrite with custom MaRDI file +RUN curl \ + --location \ + --output /usr/bin/composer \ + --url https://github.com/MaRDI4NFDI/composer/releases/download/mardi-v1/composer.phar COPY docker-entrypoint.sh /docker-entrypoint.sh