Skip to content

Commit 18e2972

Browse files
Adding 3.5 Dockerfile for moodle container.
1 parent 2a8a29f commit 18e2972

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

moodle/centos7/Dockerfile.3.5

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)