Bump Kanboard to 1.2.13 on Alpine 3.11

This commit is contained in:
Disassembler 2020-02-22 15:33:23 +01:00
parent 7b1298d7d0
commit 29d791afe1
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
8 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
IMAGE kanboard_1.2.9-190620 IMAGE kanboard_1.2.13-200207
FROM alpine3.9-php7.2_7.2.19-190620 FROM alpine3.11-php7.3_7.3.14-200207
RUN EOF RUN EOF
# Install runtime dependencies # Install runtime dependencies
@ -9,9 +9,9 @@ RUN EOF
apk --no-cache add --virtual .deps git apk --no-cache add --virtual .deps git
# Download KanBoard # Download KanBoard
wget https://github.com/kanboard/kanboard/archive/v1.2.9.zip -O /srv/kanboard.zip wget https://github.com/kanboard/kanboard/archive/v1.2.13.zip -O /srv/kanboard.zip
unzip /srv/kanboard.zip -d /srv unzip /srv/kanboard.zip -d /srv
mv /srv/kanboard-1.2.9 /srv/kanboard mv /srv/kanboard-1.2.13 /srv/kanboard
# Install plugins # 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_overwrite_translation /srv/kanboard/plugins/Overwrite_translation
@ -30,8 +30,8 @@ RUN EOF
git clone --depth=1 https://github.com/xavividal/kanboard-plugin-relationgraph /srv/kanboard/plugins/Relationgraph git clone --depth=1 https://github.com/xavividal/kanboard-plugin-relationgraph /srv/kanboard/plugins/Relationgraph
# Create OS user # Create OS user
addgroup -S -g 8080 kanboard addgroup -S kanboard
adduser -S -u 8080 -h /srv/kanboard -s /bin/false -g kanboard -G kanboard kanboard adduser -S -h /srv/kanboard -s /bin/false -g kanboard -G kanboard kanboard
# Cleanup # Cleanup
apk --no-cache del .deps apk --no-cache del .deps
@ -39,6 +39,6 @@ RUN EOF
find /srv/kanboard -name '.git*' -exec rm -rf {} + find /srv/kanboard -name '.git*' -exec rm -rf {} +
EOF EOF
COPY lxc COPY image.d
CMD /bin/s6-svscan /etc/services.d CMD /bin/s6-svscan /etc/services.d