We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a8a29f commit 18e2972Copy full SHA for 18e2972
moodle/centos7/Dockerfile.3.5
@@ -0,0 +1,25 @@
1
+FROM registry.centos.org/centos/centos:7
2
+
3
+MAINTAINER Mohammed Zeeshan Ahmed <[email protected]>
4
5
+RUN yum -y update && yum clean all
6
7
+ENV MOODLE_VERSION="3.5" \
8
+ MOODLE_NODOT_VERSION="stable35"\
9
+ PHP_REMI_VERSION="php73"
10
11
+RUN mkdir -p /opt/scripts
12
13
+ADD install.sh fix-permissions.sh run.sh passwd.template /opt/scripts/
14
15
+RUN . /opt/scripts/install.sh
16
17
+EXPOSE 8080 8443
18
19
+WORKDIR /var/www/html
20
21
+USER apache
22
23
+ENTRYPOINT ["/opt/scripts/run.sh"]
24
+CMD ["moodle"]
25
0 commit comments