From 677c0de179d2b224ca19c33aebf078661b457493 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Thu, 22 Feb 2024 14:24:13 -0600 Subject: [PATCH] Fix the docker build. --- Dockerfile | 2 +- DockerfileStage1 | 4 ++-- docker-config/docker-entrypoint.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index f735e07e69..42eee229fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -95,6 +95,7 @@ RUN apt-get update \ libextutils-helpers-perl \ libextutils-installpaths-perl \ libextutils-xsbuilder-perl \ + libfile-copy-recursive-perl \ libfile-find-rule-perl-perl \ libfile-sharedir-install-perl \ libfuture-asyncawait-perl \ @@ -131,7 +132,6 @@ RUN apt-get update \ libphp-serialization-perl \ libpod-wsdl-perl \ libsoap-lite-perl \ - libsql-abstract-classic-perl \ libsql-abstract-perl \ libstring-shellquote-perl \ libsub-uplevel-perl \ diff --git a/DockerfileStage1 b/DockerfileStage1 index 85357f3597..19f17bdc96 100644 --- a/DockerfileStage1 +++ b/DockerfileStage1 @@ -57,6 +57,7 @@ RUN apt-get update \ libextutils-helpers-perl \ libextutils-installpaths-perl \ libextutils-xsbuilder-perl \ + libfile-copy-recursive-perl \ libfile-find-rule-perl-perl \ libfile-sharedir-install-perl \ libfuture-asyncawait-perl \ @@ -93,7 +94,6 @@ RUN apt-get update \ libphp-serialization-perl \ libpod-wsdl-perl \ libsoap-lite-perl \ - libsql-abstract-classic-perl \ libsql-abstract-perl \ libstring-shellquote-perl \ libsub-uplevel-perl \ @@ -139,7 +139,7 @@ RUN apt-get update \ texlive-xetex \ tzdata \ zip $ADDITIONAL_BASE_IMAGE_PACKAGES \ - && curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \ + && curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ && apt-get install -y --no-install-recommends --no-install-suggests nodejs \ && apt-get clean \ && rm -fr /var/lib/apt/lists/* /tmp/* diff --git a/docker-config/docker-entrypoint.sh b/docker-config/docker-entrypoint.sh index d7a5a07968..fb078b5105 100755 --- a/docker-config/docker-entrypoint.sh +++ b/docker-config/docker-entrypoint.sh @@ -208,8 +208,8 @@ chmod ug+w htdocs/tmp # Even if the admin and courses directories already existed their permissions # might not be correct. -# chown www-data:www-data $APP_ROOT/courses -chown www-data:www-data $APP_ROOT/courses/admin/* +chown www-data:www-data $APP_ROOT/courses +chown -R www-data:www-data $APP_ROOT/courses/admin # Symbolic links which have no target outside the Docker container # cause problems during the rebuild process on some systems.