Skip to content

Commit

Permalink
make 'htpasswd' available in /usr/local/bin (as symlink to /usr/local…
Browse files Browse the repository at this point in the history
…/apache2/bin/htpasswd)
  • Loading branch information
Arik Kfir committed Sep 24, 2017
1 parent a5880e1 commit d3d0f5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ COPY ./resources/trusted-proxies /var/www/
COPY ./resources/ok.txt /var/www/html/
COPY ./conf/*.conf /etc/httpd/conf.d/
RUN apk add --no-cache mod_dav_svn && \
ln -s /usr/local/apache2/bin/htpasswd /usr/local/bin/htpasswd && \
chmod -v 0755 /usr/local/bin/httpd.sh && \
mkdir -vp /var/log/httpd && \
echo "IncludeOptional /etc/httpd/conf.d/*.conf" >> /usr/local/apache2/conf/httpd.conf
Expand Down

0 comments on commit d3d0f5a

Please sign in to comment.