From 63264942865cbc759237faeef78d041cad118a02 Mon Sep 17 00:00:00 2001 From: marhode Date: Wed, 27 Nov 2024 12:20:39 +0100 Subject: [PATCH] Added bitnami php to moodle-tools --- moodle-tools/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/moodle-tools/Dockerfile b/moodle-tools/Dockerfile index f8d6b77..b94c683 100644 --- a/moodle-tools/Dockerfile +++ b/moodle-tools/Dockerfile @@ -1,6 +1,7 @@ FROM ubuntu:22.04 ARG DEBIAN_FRONTEND=noninteractive +# Install like in moodle (Same php version required) https://github.com/bitnami/containers/blob/main/bitnami/moodle/4.1/debian-12/Dockerfile RUN set -x \ && apt-get -y update \ @@ -10,6 +11,8 @@ RUN set -x \ && mv ./kubectl /usr/local/bin/kubectl \ && wget -qO /usr/share/keyrings/postgres.asc https://www.postgresql.org/media/keys/ACCC4CF8.asc \ && echo "deb [signed-by=/usr/share/keyrings/postgres.asc] https://apt.postgresql.org/pub/repos/apt jammy-pgdg main" > /etc/apt/sources.list.d/pgdg.list \ + && wget https://downloads.bitnami.com/files/stacks/php/8.1.30-0/bitnami-php-8.1.30-0-linux-x64.tar.gz \ + && tar -xzf bitnami-php-8.1.30-0-linux-x64.tar.gz -C /opt \ && apt-get -y update \ && apt-get -y install \ python3-boto3 \