File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ RUN chmod 777 /tmp && chmod +t /tmp
6
6
7
7
# Setup the required extensions.
8
8
ARG DEBIAN_FRONTEND=noninteractive
9
+ RUN /tmp/setup/python-mlbackend.sh
9
10
RUN /tmp/setup/php-extensions.sh
10
11
RUN /tmp/setup/oci8-extension.sh
11
12
ENV LD_LIBRARY_PATH /usr/local/instantclient
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -e
4
+
5
+ echo " Installing Moodle Python mlbackend"
6
+
7
+ apt-get update
8
+ apt-get install -y --no-install-recommends python2.7-dev python-pip
9
+ pip --no-cache-dir install moodlemlbackend
10
+
11
+ # Keep our image size down.
12
+ rm -rf ~ /.cache/pip
13
+ apt-get remove --purge -y python2.7-dev python-pip
14
+ apt-get autoremove -y
15
+ apt-get clean
16
+ rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments