We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a4c59d commit 16e4744Copy full SHA for 16e4744
Dockerfile
@@ -4,6 +4,7 @@ ADD root/ /
4
# Fix the original permissions of /tmp, the PHP default upload tmp dir.
5
RUN chmod 777 /tmp && chmod +t /tmp
6
# Setup the required extensions.
7
+RUN /tmp/setup/python-mlbackend.sh
8
RUN /tmp/setup/php-extensions.sh
9
RUN /tmp/setup/oci8-extension.sh
10
root/tmp/setup/python-mlbackend.sh
@@ -0,0 +1,15 @@
1
+#!/usr/bin/env bash
2
+
3
+set -e
+echo "Installing Moodle Python mlbackend"
+apt-get update
+apt-get install -y --no-install-recommends python2.7 python-pip
+pip --no-cache-dir install moodlemlbackend
11
+# Keep our image size down.
12
+rm -rf ~/.cache/pip
13
+apt-get autoremove -y
14
+apt-get clean
15
+rm -rf /var/lib/apt/lists/*
0 commit comments