Change moosh source

This commit is contained in:
2026-07-26 15:30:30 +03:00
parent 69d1b32c7c
commit 426bd085ad
+4 -6
View File
@@ -43,12 +43,10 @@ RUN docker-php-ext-configure gd --with-freetype --with-jpeg \
curl \ curl \
exif exif
# Download and install Moosh # Install Moosh (phar build straight from the upstream GitHub release)
RUN cd /opt && \ RUN wget -q -O /usr/local/bin/moosh \
wget https://moodle.org/plugins/download.php/33902/moosh_moodle45_2024111400.zip && \ https://github.com/tmuras/moosh/releases/download/phar-latest/moosh.phar \
unzip moosh_moodle45_2024111400.zip && \ && chmod +x /usr/local/bin/moosh
ln -s /opt/moosh/moosh.php /usr/local/bin/moosh && \
rm moosh_moodle45_2024111400.zip # Clean up zip file
# Install Redis extension # Install Redis extension