-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
45 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,108 +1,121 @@ | ||
FROM lthub/moodle:3.9.18 | ||
|
||
FROM lthub/moodle:4.1.0 | ||
MAINTAINER Tyler Cinkant <[email protected]> | ||
|
||
RUN curl -L https://moodle.org/plugins/download.php/22949/mod_questionnaire_moodle310_2020062302.zip -o /questionnaire.zip \ | ||
|
||
RUN curl -L https://moodle.org/plugins/download.php/26900/mod_questionnaire_moodle40_2021062301.zip -o /questionnaire.zip \ | ||
&& cp /questionnaire.zip /var/www/html/mod/ \ | ||
&& cd /var/www/html/mod \ | ||
&& unzip questionnaire.zip \ | ||
&& rm questionnaire.zip \ | ||
&& rm questionnaire.zip \ | ||
|
||
#This is the latest version of plugin moodle33 as of 20Dec2022 | ||
&& curl -L https://moodle.org/plugins/download.php/11565/mod_certificate_moodle33_2016052300.zip -o /certificate.zip \ | ||
&& cp /certificate.zip /var/www/html/mod/ \ | ||
&& cd /var/www/html/mod \ | ||
&& unzip certificate.zip \ | ||
&& rm certificate.zip \ | ||
|
||
&& curl -L https://moodle.org/plugins/download.php/24438/mod_hvp_moodle311_2021061100.zip -o /hvp.zip \ | ||
&& curl -L https://moodle.org/plugins/download.php/28179/mod_hvp_moodle41_2022121200.zip -o /hvp.zip \ | ||
&& cp /hvp.zip /var/www/html/mod/ \ | ||
&& cd /var/www/html/mod \ | ||
&& unzip hvp.zip \ | ||
&& rm hvp.zip \ | ||
&& rm hvp.zip \ | ||
|
||
#This is the latest version: And pending on Kate verification with her team. | ||
&& curl -L https://moodle.org/plugins/download.php/16906/block_poll_moodle37_2018052500.zip -o /poll.zip \ | ||
&& cp /poll.zip /var/www/html/blocks/ \ | ||
&& cd /var/www/html/blocks \ | ||
&& unzip poll.zip \ | ||
&& rm poll.zip \ | ||
|
||
&& curl -L https://moodle.org/plugins/download.php/24644/report_customsql_moodle311_2021070700.zip -o /customsql.zip \ | ||
&& curl -L https://moodle.org/plugins/download.php/26177/report_customsql_moodle40_2022031800.zip -o /customsql.zip \ | ||
&& cp /customsql.zip /var/www/html/report/ \ | ||
&& cd /var/www/html/report \ | ||
&& unzip customsql.zip \ | ||
&& rm customsql.zip \ | ||
&& rm customsql.zip \ | ||
|
||
&& curl -L https://moodle.org/plugins/download.php/24594/format_grid_moodle39_2020070705.zip -o /grid.zip \ | ||
&& curl -L https://moodle.org/plugins/download.php/28049/format_grid_moodle41_2022112600.zip -o /grid.zip \ | ||
&& cp /grid.zip /var/www/html/course/format/ \ | ||
&& cd /var/www/html/course/format \ | ||
&& unzip grid.zip \ | ||
&& rm grid.zip \ | ||
|
||
&& curl -L https://moodle.org/plugins/download.php/21512/format_flexsections_moodle38_2020051100.zip -o /flex.zip \ | ||
&& curl -L https://moodle.org/plugins/download.php/26868/format_flexsections_moodle40_2022061900.zip -o /flex.zip \ | ||
&& cp /flex.zip /var/www/html/course/format/ \ | ||
&& cd /var/www/html/course/format \ | ||
&& unzip flex.zip \ | ||
&& rm flex.zip \ | ||
|
||
&& curl -L https://moodle.org/plugins/download.php/23458/mod_facetoface_moodle39_2020080400.zip -o /facetoface.zip \ | ||
&& cp /facetoface.zip /var/www/html/mod/ \ | ||
&& cd /var/www/html/mod \ | ||
&& unzip facetoface.zip \ | ||
&& rm facetoface.zip \ | ||
|
||
&& rm flex.zip \ | ||
|
||
# Kate requested to remove: | ||
# && curl -L https://moodle.org/plugins/download.php/25559/mod_facetoface_moodle311_2021113000.zip -o /facetoface.zip \ | ||
# && cp /facetoface.zip /var/www/html/mod/ \ | ||
# && cd /var/www/html/mod \ | ||
# && unzip facetoface.zip \ | ||
# && rm facetoface.zip \ | ||
# | ||
#This is the last version of this plugin for moodle33 as of 20Dec2022: | ||
&& curl -L https://moodle.org/plugins/download.php/14468/local_mass_enroll_moodle33_2015092402.zip -o /mass.zip \ | ||
&& cp /mass.zip /var/www/html/local/ \ | ||
&& cd /var/www/html/local \ | ||
&& unzip mass.zip \ | ||
&& rm mass.zip \ | ||
|
||
&& curl -L https://moodle.org/plugins/download.php/21761/block_course_modulenavigation_moodle39_2020061615.zip -o /modulenav.zip \ | ||
&& curl -L https://moodle.org/plugins/download.php/28180/block_course_modulenavigation_moodle41_2022121300.zip -o /modulenav.zip \ | ||
&& cp /modulenav.zip /var/www/html/blocks/ \ | ||
&& cd /var/www/html/blocks \ | ||
&& unzip modulenav.zip \ | ||
&& rm modulenav.zip \ | ||
&& rm modulenav.zip \ | ||
|
||
#This is the latest version of this plugin for moodle310 as of 11Jan2023: | ||
&& curl -L https://moodle.org/plugins/download.php/22758/block_configurable_reports_moodle310_2020110300.zip -o /configurable.zip \ | ||
&& cp /configurable.zip /var/www/html/blocks/ \ | ||
&& cd /var/www/html/blocks \ | ||
&& unzip configurable.zip \ | ||
&& rm configurable.zip \ | ||
|
||
&& curl -L https://moodle.org/plugins/download.php/22161/local_boostnavigation_moodle38_2020080400.zip -o /boostnavig.zip \ | ||
|
||
&& curl -L https://moodle.org/plugins/download.php/27010/local_boostnavigation_moodle311_2021071501.zip -o /boostnavig.zip \ | ||
&& cp /boostnavig.zip /var/www/html/local/ \ | ||
&& cd /var/www/html/local \ | ||
&& unzip boostnavig.zip \ | ||
&& rm boostnavig.zip \ | ||
&& rm boostnavig.zip \ | ||
|
||
|
||
&& curl -L https://moodle.org/plugins/download.php/20137/tool_mergeusers_moodle37_2019082000.zip -o /mergeuser.zip \ | ||
&& curl -L https://moodle.org/plugins/download.php/24764/tool_mergeusers_moodle311_2021072200.zip -o /mergeuser.zip \ | ||
&& cp /mergeuser.zip /var/www/html/admin/tool/ \ | ||
&& cd /var/www/html/admin/tool \ | ||
&& unzip mergeuser.zip \ | ||
&& rm mergeuser.zip \ | ||
&& rm mergeuser.zip \ | ||
|
||
&& curl -L https://moodle.org/plugins/download.php/22662/filter_multilang2_moodle310_2020101300.zip -o /multi.zip \ | ||
&& curl -L https://moodle.org/plugins/download.php/22662/filter_multilang2_moodle40_2020101300.zip -o /multi.zip \ | ||
&& cp /multi.zip /var/www/html/filter/ \ | ||
&& cd /var/www/html/filter \ | ||
&& unzip multi.zip \ | ||
&& rm multi.zip \ | ||
|
||
&& curl -L https://moodle.org/plugins/download.php/24719/availability_language_moodle311_2021071800.zip -o /avail.zip \ | ||
&& curl -L https://moodle.org/plugins/download.php/26482/availability_language_moodle41_2022041900.zip -o /avail.zip \ | ||
&& cp /avail.zip /var/www/html/availability/condition/ \ | ||
&& cd /var/www/html/availability/condition \ | ||
&& unzip avail.zip \ | ||
&& rm avail.zip \ | ||
|
||
&& curl -L https://moodle.org/plugins/download.php/23089/block_panopto_moodle310_2020121100.zip -o /panopto.zip \ | ||
#Pending on Kate verification with her team. | ||
&& curl -L https://moodle.org/plugins/download.php/27505/block_panopto_moodle40_2022090700.zip -o /panopto.zip \ | ||
&& cp /panopto.zip /var/www/html/blocks/ \ | ||
&& cd /var/www/html/blocks \ | ||
&& unzip panopto.zip \ | ||
&& rm panopto.zip \ | ||
|
||
&& curl -L https://moodle.org/plugins/download.php/21850/local_recompletion_moodle39_2020062500.zip -o /recomplete.zip \ | ||
&& curl -L https://moodle.org/plugins/download.php/27445/local_recompletion_moodle40_2022082900.zip -o /recomplete.zip \ | ||
&& cp /recomplete.zip /var/www/html/local/ \ | ||
&& cd /var/www/html/local \ | ||
&& unzip recomplete.zip \ | ||
&& rm recomplete.zip \ | ||
|
||
|
||
#This is the latest version of this plugin moodle311 - checked again on 11Jan2023 16:38: | ||
#ARLO plugin requires Arlo_connection setting. | ||
&& curl -L https://moodle.org/plugins/download.php/27469/enrol_arlo_moodle311_2022090100.zip -o /enrolarlo.zip \ | ||
&& cp /enrolarlo.zip /var/www/html/enrol/ \ | ||
&& cd /var/www/html/enrol \ | ||
|
@@ -114,13 +127,14 @@ RUN curl -L https://moodle.org/plugins/download.php/22949/mod_questionnaire_mood | |
COPY certificate.php /var/www/html/mod/certificate/type/letter_non_embedded/ | ||
|
||
# add custom theme | ||
COPY themes/maker-v6.1-moodle-3.9.zip /var/www/html/theme/ | ||
COPY themes/maker-v10.0-moodle-4.1.zip /var/www/html/theme/ | ||
RUN cd /var/www/html/theme \ | ||
&& unzip maker-v6.1-moodle-3.9.zip \ | ||
&& rm maker-v6.1-moodle-3.9.zip | ||
&& unzip maker-v10.0-moodle-4.1.zip \ | ||
&& rm maker-v10.0-moodle-4.1.zip | ||
|
||
# add tinymce for panopto | ||
COPY plugin/panoptobutton.zip /var/www/html/lib/editor/tinymce/plugins/ | ||
|
||
RUN cd /var/www/html/lib/editor/tinymce/plugins/ \ | ||
&& unzip panoptobutton.zip \ | ||
&& rm panoptobutton.zip | ||
|
Binary file not shown.