From c6933241773e796015efc390daf834bd4b1620b5 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 22 Aug 2019 06:56:57 +0200 Subject: Create /auth folder --- 0.10/Dockerfile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to '0.10/Dockerfile') 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"] -- cgit v1.2.3