diff options
-rw-r--r-- | 0.10/Dockerfile | 15 |
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"] |