forked from hydroshare/hydroshare
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (20 loc) · 767 Bytes
/
Dockerfile
File metadata and controls
25 lines (20 loc) · 767 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
FROM mjstealey/hs_docker_base:1.9.5
MAINTAINER Michael J. Stealey <stealey@renci.org>
### Begin - xDCIShare Development Image Additions ###
RUN pip install --upgrade pip && pip install \
robot_detection \
django-ipware \
django-test-without-migrations
# Patch for Mezzanone 4.10 collecttemplates bugfix
RUN echo -e "\
\n42c42,44\
\n< to_dir = settings.TEMPLATE_DIRS[0]\
\n---\
\n> # Mezzanine 4.10 fix for collecttemplates.py\
\n> # to_dir = settings.TEMPLATE_DIRS[0]\
\n> to_dir = settings.TEMPLATES[0][\"DIRS\"][0]\
" | patch /usr/local/lib/python2.7/site-packages/mezzanine/core/management/commands/collecttemplates.py -
### End - xDCIShare Development Image Additions ###
USER root
WORKDIR /hydroshare
CMD ["/bin/bash"]