forked from benhutchins/docker-taiga-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
16 lines (13 loc) · 868 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM benhutchins/taiga
MAINTAINER Benjamin Hutchins <[email protected]>
## Install Slack extension
RUN LC_ALL=C pip install --no-cache-dir taiga-contrib-slack
RUN mkdir -p /usr/src/taiga-front-dist/dist/plugins/slack/
RUN SLACK_VERSION=$(pip show taiga-contrib-slack | awk '/^Version: /{print $2}') && \
echo "taiga-contrib-slack version: $SLACK_VERSION" && \
curl https://raw.githubusercontent.com/taigaio/taiga-contrib-slack/$SLACK_VERSION/front/dist/slack.js -o /usr/src/taiga-front-dist/dist/plugins/slack/slack.js && \
curl https://raw.githubusercontent.com/taigaio/taiga-contrib-slack/$SLACK_VERSION/front/dist/slack.json -o /usr/src/taiga-front-dist/dist/plugins/slack/slack.json
## Install LDAP extensions
# RUN pip install --no-cache-dir taiga-contrib-ldap-auth
COPY taiga-conf/local.py /taiga/local.py
COPY taiga-conf/conf.json /taiga/conf.json