From 018d8d8b61028c30ad73f9d1a89789c01d9ea789 Mon Sep 17 00:00:00 2001 From: Clemens Date: Fri, 20 Jan 2023 12:04:40 +0100 Subject: [PATCH] Updated Docker tests --- infrastructure/docker-nextcloud/test/Dockerfile | 3 +-- infrastructure/docker-nextcloud/test/serverspec.edn | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/infrastructure/docker-nextcloud/test/Dockerfile b/infrastructure/docker-nextcloud/test/Dockerfile index 891c1ee..7932767 100644 --- a/infrastructure/docker-nextcloud/test/Dockerfile +++ b/infrastructure/docker-nextcloud/test/Dockerfile @@ -1,7 +1,6 @@ -FROM meissa-cloud-app +FROM c4k-cloud RUN apt update -RUN mkdir /usr/share/man/man1/ RUN apt -yqq install --no-install-recommends --yes curl default-jre-headless RUN curl -L -o /tmp/serverspec.jar https://github.com/DomainDrivenArchitecture/dda-serverspec-crate/releases/download/2.0.0/dda-serverspec-standalone.jar diff --git a/infrastructure/docker-nextcloud/test/serverspec.edn b/infrastructure/docker-nextcloud/test/serverspec.edn index 767e01c..3b449c6 100644 --- a/infrastructure/docker-nextcloud/test/serverspec.edn +++ b/infrastructure/docker-nextcloud/test/serverspec.edn @@ -1,2 +1,5 @@ {:file [{:path "/var/data"} + {:path "/usr/local/bin/install-debug.sh" :mod "700"} + {:path "/usr/local/etc/php/conf.d/upload-max-limit.ini" :mod "544"} + {:path "/usr/local/etc/php/conf.d/memory-limit.ini" :mod "544"} {:path "/entrypoint.sh" :mod "755"}]}