-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (29 loc) · 883 Bytes
/
Dockerfile
File metadata and controls
35 lines (29 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM sl:7
MAINTAINER Daniel Abercrombie <dabercro@mit.edu>
# Users
RUN useradd mysql && useradd dynamo -u 500
# Repositories
RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# Installation of packages
RUN yum -y install \
initscripts \
lighttpd \
lighttpd-fastcgi \
mariadb \
mariadb-server \
fetch-crl \
python-flup \
python-fts \
rrdtool-python \
condor-python \
python-matplotlib \
python-requests \
MySQL-python \
python-pip
# Install MariaDB
# Will need to run 'mysqld_safe &' at startup for tests
RUN printf "mysql_install_db --user=mysql\nmysqld_safe &\nsleep 5\nmysqladmin -u root password 'test'\nkill %%1\n" | bash
# Stuff below is not used by dynamo, but useful for tests
RUN pip install -U 'pip==18.0' 'cmstoolbox==0.11.2'
# Used by dynamo
RUN pip install 'cx_Oracle'