We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c334c90 commit 46ddc97Copy full SHA for 46ddc97
Dockerfile
@@ -6,6 +6,7 @@ RUN chmod 777 /tmp && chmod +t /tmp
6
7
# Setup the required extensions.
8
ARG DEBIAN_FRONTEND=noninteractive
9
+RUN /tmp/setup/python-mlbackend.sh
10
RUN /tmp/setup/php-extensions.sh
11
RUN /tmp/setup/oci8-extension.sh
12
ENV LD_LIBRARY_PATH /usr/local/instantclient
root/tmp/setup/python-mlbackend.sh
@@ -0,0 +1,15 @@
1
+#!/usr/bin/env bash
2
+
3
+set -e
4
5
+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
+# Keep our image size down.
+rm -rf ~/.cache/pip
13
+apt-get autoremove -y
14
+apt-get clean
15
+rm -rf /var/lib/apt/lists/*
0 commit comments