summaryrefslogtreecommitdiffstats
path: root/0.10/Dockerfile
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-08-22 06:56:57 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-08-22 06:56:57 +0200
commitc6933241773e796015efc390daf834bd4b1620b5 (patch)
tree915d819402f3e54b1e9ab65b1ed3153431a89054 /0.10/Dockerfile
parent8336e5b21f8d983489fdf45b6807e3e2f8936e0d (diff)
downloadtrac-c6933241773e796015efc390daf834bd4b1620b5.tar.gz
trac-c6933241773e796015efc390daf834bd4b1620b5.tar.bz2
trac-c6933241773e796015efc390daf834bd4b1620b5.tar.xz
trac-c6933241773e796015efc390daf834bd4b1620b5.zip
Create /auth folder
Diffstat (limited to '0.10/Dockerfile')
-rw-r--r--0.10/Dockerfile15
1 files changed, 10 insertions, 5 deletions
diff --git a/0.10/Dockerfile b/0.10/Dockerfile
index 9d5db24..d4f34fe 100644
--- a/0.10/Dockerfile
+++ b/0.10/Dockerfile
@@ -23,16 +23,21 @@ RUN cd /usr/src/ && \
rm -Rf clearsilver-0.10.5
COPY eggs /usr/src/eggs
-RUN mkdir -p /home/csa/ && \
- ln -s /trac /home/csa/.trac && \
- easy_install http://effbot.org/downloads/Imaging-1.1.7.tar.gz && \
+RUN easy_install http://effbot.org/downloads/Imaging-1.1.7.tar.gz && \
easy_install dnspython && \
easy_install spambayes && \
easy_install /usr/src/eggs/0/*.egg && \
easy_install /usr/src/eggs/*.egg
-# For ugly applications which want to resolve user name
-RUN chmod g=u /etc/passwd
+RUN mkdir -p /auth && \
+ touch /auth/htpasswd && \
+ touch /auth/htgroups && \
+ mkdir -p /trac && \
+ ln -s /auth/htpasswd /trac/.htpasswd && \
+ ln -s /auth/htgroups /trac/.htgroups && \
+ mkdir -p /home/csa/ && \
+ ln -s /trac /home/csa/.trac && \
+ chmod g=u /etc/passwd
COPY docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]