FROM erseco/alpine-moodle #USER root #RUN chown nobody:nobody /var/www/html #RUN chmod a+rwx -R /var/www/html #USER nobody # USER root # #RUN mkdir /var/www/html # RUN chown -R nobody:nobody /var/www/html # #RUN mkdir /var/www/moodledata # RUN chown -R nobody:nobody /var/www/moodledata # USER nobody # COPY rootfs/docker-entrypoint-init.d/02-configure-moodle.sh /docker-entrypoint-init.d/02-configure-moodle.sh # COPY rootfs/isinstalled.php / # COPY plugins.sh / # USER root #RUN curl --location https://moodle.org/plugins/download.php/23298/auth_oidc_moodle310_2020110900.zip > auth_oidc.zip #RUN unzip auth_oidc.zip -d /var/www/html/auth/ #RUN rm auth_oidc.zip RUN curl --location https://moodle.org/plugins/download.php/23360/mod_jitsi_moodle310_2021020300.zip > jitsi.zip RUN unzip jitsi.zip -d /var/www/html/mod/ RUN rm jitsi.zip RUN curl --location https://moodle.org/plugins/download.php/23294/mod_bigbluebuttonbn_moodle310_2019101004.zip > bbb.zip RUN unzip bbb.zip -d /var/www/html/mod/ RUN rm bbb.zip #ADD plugins/auth_saml2.zip /var/www/html/ RUN curl --location https://github.com/isard-vdi/moodle-auth_saml2/archive/refs/heads/role_map.zip > auth_saml2.zip RUN unzip auth_saml2.zip -d /var/www/html/auth/ RUN mv /var/www/html/auth/moodle-auth_saml2-role_map /var/www/html/auth/saml2 RUN rm auth_saml2.zip RUN curl --location https://github.com/3iPunt/moodle_mod_tresipuntshare/archive/refs/heads/master.zip > tresipuntshare.zip RUN unzip tresipuntshare.zip -d /var/www/html/mod/ RUN mv /var/www/html/mod/moodle_mod_tresipuntshare-master /var/www/html/mod/tresipuntshare RUN rm tresipuntshare.zip RUN curl --location https://github.com/3iPunt/moodle_mod_tresipuntvideo/archive/refs/heads/master.zip > tresipuntvideo.zip RUN unzip tresipuntvideo.zip -d /var/www/html/mod/ RUN mv /var/www/html/mod/moodle_mod_tresipuntvideo-master /var/www/html/mod/tresipuntvideo RUN rm tresipuntvideo.zip RUN curl --location https://github.com/3iPunt/moodle_mod_tresipuntaudio/archive/refs/heads/master.zip > tresipuntaudio.zip RUN unzip tresipuntaudio.zip -d /var/www/html/mod/ RUN mv /var/www/html/mod/moodle_mod_tresipuntaudio-master /var/www/html/mod/tresipuntaudio RUN rm tresipuntaudio.zip RUN curl --location https://github.com/3iPunt/moodle_mod_tresipuntaudio/archive/refs/heads/master.zip > tresipuntaudio.zip RUN unzip tresipuntaudio.zip -d /var/www/html/mod/ RUN mv /var/www/html/mod/moodle_mod_tresipuntaudio-master /var/www/html/mod/tresipuntaudio RUN rm tresipuntaudio.zip RUN curl --location https://github.com/3iPunt/moodle_theme_cbe/archive/refs/heads/master.zip > tresipunt_theme_cbe.zip RUN unzip tresipunt_theme_cbe.zip -d /var/www/html/mod/ RUN mv /var/www/html/mod/moodle_theme_cbe-master /var/www/html/theme/cbe RUN rm tresipunt_theme_cbe.zip