Spotter-VM/lxc-apps/kanboard/lxcfile

56 lines
2.6 KiB
Plaintext
Raw Normal View History

IMAGE kanboard 1.2.9-190620
META title KanBoard
META desc-cs Kanban řízení projektů
META desc-en Kanban project management
META type app
META license GPL
META depends postgres
LAYER alpine3.9 3.9.4-190620
LAYER alpine3.9-php7.2 7.2.19-190620
2018-09-13 13:22:15 +02:00
RUN EOF
# Install runtime dependencies
apk --no-cache add php7-dom php7-iconv php7-openssl php7-pdo_pgsql php7-posix php7-simplexml php7-sockets php7-xml php7-zip php7-zlib
# Install build dependencies
apk --no-cache add --virtual .deps git
# Download KanBoard
2019-05-08 10:44:14 +02:00
wget https://github.com/kanboard/kanboard/archive/v1.2.9.zip -O /srv/kanboard.zip
2018-09-13 13:22:15 +02:00
unzip /srv/kanboard.zip -d /srv
2019-05-08 10:44:14 +02:00
mv /srv/kanboard-1.2.9 /srv/kanboard
2018-09-13 13:22:15 +02:00
# Install plugins
git clone --depth=1 https://github.com/BlueTeck/kanboard_plugin_overwrite_translation /srv/kanboard/plugins/Overwrite_translation
git clone --depth=1 https://github.com/BlueTeck/kanboard_plugin_coverimage /srv/kanboard/plugins/Coverimage
git clone --depth=1 https://github.com/BlueTeck/kanboard_plugin_metadata /srv/kanboard/plugins/Metadata
git clone --depth=1 https://github.com/eSkiSo/Subtaskdate /srv/kanboard/plugins/Subtaskdate
git clone --depth=1 https://github.com/kanboard/plugin-budget /srv/kanboard/plugins/Budget
git clone --depth=1 https://github.com/kanboard/plugin-calendar /srv/kanboard/plugins/Calendar
git clone --depth=1 https://github.com/kanboard/plugin-chat /srv/kanboard/plugins/Chat
git clone --depth=1 https://github.com/kanboard/plugin-gantt /srv/kanboard/plugins/Gantt
git clone --depth=1 https://github.com/kanboard/plugin-gravatar /srv/kanboard/plugins/Gravatar
git clone --depth=1 https://github.com/kanboard/plugin-registration /srv/kanboard/plugins/Registration
git clone --depth=1 https://github.com/kanboard/plugin-sms-2fa /srv/kanboard/plugins/SmsTwoFactor
git clone --depth=1 https://github.com/kanboard/plugin-task-board-date /srv/kanboard/plugins/TaskBoardDate
git clone --depth=1 https://github.com/oliviermaridat/kanboard-milestone-plugin /srv/kanboard/plugins/Milestone
git clone --depth=1 https://github.com/xavividal/kanboard-plugin-relationgraph /srv/kanboard/plugins/Relationgraph
# Create OS user
addgroup -S -g 8009 kanboard
adduser -S -u 8009 -h /srv/kanboard -s /bin/false -g kanboard -G kanboard kanboard
# Cleanup
apk --no-cache del .deps
rm -f /srv/kanboard.zip
find /srv/kanboard -name '.git*' -exec rm -rf {} +
EOF
COPY lxc
2018-09-14 18:13:11 +02:00
MOUNT DIR /srv/kanboard/data srv/kanboard/data/files
MOUNT FILE /srv/kanboard/conf/config.php srv/kanboard/config.php
2018-09-13 13:22:15 +02:00
2018-09-13 16:21:16 +02:00
CMD s6-svscan /etc/services.d