Skip to content

Commit

Permalink
Added bitnami php to moodle-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
marhode committed Nov 27, 2024
1 parent d8d71ac commit 6326494
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions moodle-tools/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit 6326494

Please sign in to comment.