Change moosh source
This commit is contained in:
+4
-6
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user