From df0587b95161a10469c9d387e6350ef5ee820f9c Mon Sep 17 00:00:00 2001 From: Vincent Le Quec Date: Thu, 11 Apr 2024 15:25:48 +0200 Subject: [PATCH] ci: Test time --- docker/alpine.Dockerfile | 4 ++-- docker/debian.Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/alpine.Dockerfile b/docker/alpine.Dockerfile index 40437674..878787b3 100644 --- a/docker/alpine.Dockerfile +++ b/docker/alpine.Dockerfile @@ -53,9 +53,9 @@ RUN \ COPY ./assets/docker_run.sh /tmp/ RUN if [ "$SERVER_FLAVOUR" = "fpm" ]; \ - then sed 's/{PHP_CMD}/php-fpm/' /tmp/docker_run.sh; \ + then sed -i 's/{PHP_CMD}/php-fpm/' /tmp/docker_run.sh; \ else \ - sed 's/{PHP_CMD}/apache2-foreground/' /tmp/docker_run.sh; \ + sed -i 's/{PHP_CMD}/apache2-foreground/' /tmp/docker_run.sh; \ fi # Handling a dynamic domain diff --git a/docker/debian.Dockerfile b/docker/debian.Dockerfile index 593aff4f..960ba784 100644 --- a/docker/debian.Dockerfile +++ b/docker/debian.Dockerfile @@ -63,9 +63,9 @@ RUN export DEBIAN_FRONTEND=noninteractive \ COPY ./assets/docker_run.sh /tmp/ RUN if [ "$SERVER_FLAVOUR" = "fpm" ]; \ - then sed 's/{PHP_CMD}/php-fpm/' /tmp/docker_run.sh; \ + then sed -i 's/{PHP_CMD}/php-fpm/' /tmp/docker_run.sh; \ else \ - sed 's/{PHP_CMD}/apache2-foreground/' /tmp/docker_run.sh; \ + sed -i 's/{PHP_CMD}/apache2-foreground/' /tmp/docker_run.sh; \ fi