wiki-bookstack (sha256:3c0ca18492e37712a2ab1bcb23d5a128c54fb5ad3e1a44a6e3ad2dfc64e5a50c)
Published 2025-12-22 08:14:05 +00:00 by tiran133
Installation
docker pull git.unitystack.org/unitystack/wiki-bookstack@sha256:3c0ca18492e37712a2ab1bcb23d5a128c54fb5ad3e1a44a6e3ad2dfc64e5a50csha256:3c0ca18492e37712a2ab1bcb23d5a128c54fb5ad3e1a44a6e3ad2dfc64e5a50cAbout this package
[Bookstack](https://github.com/BookStackApp/BookStack) is a free and open source Wiki designed for creating beautiful documentation. Featuring a simple, but powerful WYSIWYG editor it allows for teams to create detailed and useful documentation with ease. Powered by SQL and including a Markdown editor for those who prefer it, BookStack is geared towards making documentation more of a pleasure than a chore. For more information on BookStack visit their website and check it out: https://www.bookstackapp.com
Image layers
| COPY /root-out/ / # buildkit |
| ARG BUILD_DATE=2025-12-06T10:20:44+00:00 |
| ARG VERSION=4c1ed24a-ls17 |
| ARG MODS_VERSION=v3 |
| ARG PKG_INST_VERSION=v1 |
| ARG LSIOWN_VERSION=v1 |
| ARG WITHCONTENV_VERSION=v1 |
| LABEL build_version=Linuxserver.io version:- 4c1ed24a-ls17 Build-date:- 2025-12-06T10:20:44+00:00 |
| LABEL maintainer=TheLamer |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/package-install.v1 /etc/s6-overlay/s6-rc.d/init-mods-package-install/run # buildkit |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.v1 /usr/bin/lsiown # buildkit |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/with-contenv.v1 /usr/bin/with-contenv # buildkit |
| ENV PS1=$(whoami)@$(hostname):$(pwd)\$ HOME=/root TERM=xterm S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_VERBOSITY=1 S6_STAGE2_HOOK=/docker-mods VIRTUAL_ENV=/lsiopy PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN |6 BUILD_DATE=2025-12-06T10:20:44+00:00 VERSION=4c1ed24a-ls17 MODS_VERSION=v3 PKG_INST_VERSION=v1 LSIOWN_VERSION=v1 WITHCONTENV_VERSION=v1 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache alpine-release bash ca-certificates catatonit coreutils curl findutils jq netcat-openbsd procps-ng shadow tzdata && echo "**** create abc user and make our folders ****" && groupmod -g 1000 users && useradd -u 911 -U -d /config -s /bin/false abc && usermod -G users abc && mkdir -p /app /config /defaults /lsiopy && echo "**** cleanup ****" && rm -rf /tmp/* # buildkit |
| COPY root/ / # buildkit |
| ENTRYPOINT ["/init"] |
| ARG BUILD_DATE=2025-12-11T19:01:59+00:00 |
| ARG VERSION=1.28.0-r3_8.4.14-r0-ls25 |
| LABEL build_version=Linuxserver.io version:- 1.28.0-r3_8.4.14-r0-ls25 Build-date:- 2025-12-11T19:01:59+00:00 |
| LABEL maintainer=nemchik |
| ENV PHP_INI_SCAN_DIR=:/config/php |
| RUN |2 BUILD_DATE=2025-12-11T19:01:59+00:00 VERSION=1.28.0-r3_8.4.14-r0-ls25 /bin/sh -c echo "**** install build packages ****" && apk add --no-cache apache2-utils git logrotate nano nginx openssl php84 php84-ctype php84-curl php84-fileinfo php84-fpm php84-iconv php84-json php84-mbstring php84-openssl php84-phar php84-session php84-simplexml php84-xml php84-xmlwriter php84-zip php84-zlib && echo "**** configure nginx ****" && echo 'fastcgi_param HTTP_PROXY ""; # https://httpoxy.org/' >> /etc/nginx/fastcgi_params && echo 'fastcgi_param PATH_INFO $fastcgi_path_info; # http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_split_path_info' >> /etc/nginx/fastcgi_params && echo 'fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; # https://www.nginx.com/resources/wiki/start/topics/examples/phpfcgi/#connecting-nginx-to-php-fpm' >> /etc/nginx/fastcgi_params && echo 'fastcgi_param SERVER_NAME $host; # Send HTTP_HOST as SERVER_NAME. If HTTP_HOST is blank, send the value of server_name from nginx (default is `_`)' >> /etc/nginx/fastcgi_params && rm -f /etc/nginx/conf.d/stream.conf && rm -f /etc/nginx/http.d/default.conf && echo "**** guarantee correct php version is symlinked ****" && if [ "$(readlink /usr/bin/php)" != "php84" ]; then rm -rf /usr/bin/php && ln -s /usr/bin/php84 /usr/bin/php; fi && echo "**** configure php ****" && sed -i "s#;error_log = log/php84/error.log.*#error_log = /config/log/php/error.log#g" /etc/php84/php-fpm.conf && sed -i "s#user = nobody.*#user = abc#g" /etc/php84/php-fpm.d/www.conf && sed -i "s#group = nobody.*#group = abc#g" /etc/php84/php-fpm.d/www.conf && echo "**** add run paths to php runtime config ****" && grep -qxF 'include=/config/php/*.conf' /etc/php84/php-fpm.conf || echo 'include=/config/php/*.conf' >> /etc/php84/php-fpm.conf && echo "**** install php composer ****" && EXPECTED_CHECKSUM="$(php -r 'copy("https://composer.github.io/installer.sig", "php://stdout");')" && php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && ACTUAL_CHECKSUM="$(php -r "echo hash_file('sha384', 'composer-setup.php');")" && if [ "$EXPECTED_CHECKSUM" != "$ACTUAL_CHECKSUM" ]; then >&2 echo 'ERROR: Invalid installer checksum' && rm composer-setup.php && exit 1; fi && php composer-setup.php --install-dir=/usr/bin && rm composer-setup.php && ln -s /usr/bin/composer.phar /usr/bin/composer && echo "**** fix logrotate ****" && sed -i "s#/var/log/messages {}.*# #g" /etc/logrotate.conf && sed -i 's#/usr/sbin/logrotate /etc/logrotate.conf#/usr/sbin/logrotate /etc/logrotate.conf -s /config/log/logrotate.status#g' /etc/periodic/daily/logrotate # buildkit |
| COPY root/ / # buildkit |
| EXPOSE [443/tcp 80/tcp] |
| ENV LSIO_FIRST_PARTY=true |
| ARG BUILD_DATE=2025-12-15T18:40:10+00:00 |
| ARG VERSION=v25.11.6-ls235 |
| ARG BOOKSTACK_RELEASE=v25.11.6 |
| LABEL build_version=Linuxserver.io version:- v25.11.6-ls235 Build-date:- 2025-12-15T18:40:10+00:00 |
| LABEL maintainer=thespad |
| ENV S6_STAGE2_HOOK=/init-hook |
| RUN |3 BUILD_DATE=2025-12-15T18:40:10+00:00 VERSION=v25.11.6-ls235 BOOKSTACK_RELEASE=v25.11.6 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache fontconfig mariadb-client memcached php84-dom php84-exif php84-gd php84-ldap php84-mysqlnd php84-opcache php84-pdo_mysql php84-pecl-memcached php84-tokenizer qt5-qtbase ttf-freefont && echo "**** configure php-fpm to pass env vars ****" && sed -E -i 's/^;?clear_env ?=.*$/clear_env = no/g' /etc/php84/php-fpm.d/www.conf && if ! grep -qxF 'clear_env = no' /etc/php84/php-fpm.d/www.conf; then echo 'clear_env = no' >> /etc/php84/php-fpm.d/www.conf; fi && echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /etc/php84/php-fpm.conf && echo "**** fetch bookstack ****" && mkdir -p /app/www && if [ -z ${BOOKSTACK_RELEASE+x} ]; then BOOKSTACK_RELEASE=$(curl -sX GET "https://api.github.com/repos/bookstackapp/bookstack/releases/latest" | awk '/tag_name/{print $4;exit}' FS='[""]'); fi && curl -o /tmp/bookstack.tar.gz -L "https://github.com/BookStackApp/BookStack/archive/${BOOKSTACK_RELEASE}.tar.gz" && tar xf /tmp/bookstack.tar.gz -C /app/www/ --strip-components=1 && echo "**** install composer dependencies ****" && composer install -d /app/www/ && printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && echo "**** create symlinks ****" && /bin/bash -c 'dst=(www/themes www/files www/images www/uploads backups www/framework/cache www/framework/sessions www/framework/views log/bookstack/laravel.log www/.env); src=(themes storage/uploads/files storage/uploads/images public/uploads storage/backups storage/framework/cache storage/framework/sessions storage/framework/views storage/logs/laravel.log .env); for i in "${!src[@]}"; do rm -rf /app/www/"${src[i]}" && ln -s /config/"${dst[i]}" /app/www/"${src[i]}"; done' && echo "**** cleanup ****" && rm -rf /tmp/* $HOME/.cache $HOME/.composer # buildkit |
| COPY root/ / # buildkit |
| EXPOSE [443/tcp 80/tcp] |
| VOLUME [/config] |
| COPY /app/themes/unitystack/layouts /tmp/themes/unitystack/layouts # buildkit |
| COPY /app/themes/unitystack/public /tmp/themes/unitystack/public # buildkit |
| COPY copy-theme.sh /etc/cont-init.d/99-copy-theme # buildkit |
| RUN /bin/sh -c chmod +x /etc/cont-init.d/99-copy-theme # buildkit |
Labels
| Key | Value |
|---|---|
| build_version | Linuxserver.io version:- v25.11.6-ls235 Build-date:- 2025-12-15T18:40:10+00:00 |
| maintainer | thespad |
| org.opencontainers.image.authors | linuxserver.io |
| org.opencontainers.image.created | 2025-12-15T18:40:10+00:00 |
| org.opencontainers.image.description | [Bookstack](https://github.com/BookStackApp/BookStack) is a free and open source Wiki designed for creating beautiful documentation. Featuring a simple, but powerful WYSIWYG editor it allows for teams to create detailed and useful documentation with ease. Powered by SQL and including a Markdown editor for those who prefer it, BookStack is geared towards making documentation more of a pleasure than a chore. For more information on BookStack visit their website and check it out: https://www.bookstackapp.com |
| org.opencontainers.image.documentation | https://docs.linuxserver.io/images/docker-bookstack |
| org.opencontainers.image.licenses | GPL-3.0-only |
| org.opencontainers.image.ref.name | 3dfc0bda5ab2ed81aabce47aed76a16e26725d82 |
| org.opencontainers.image.revision | 3dfc0bda5ab2ed81aabce47aed76a16e26725d82 |
| org.opencontainers.image.source | https://github.com/linuxserver/docker-bookstack |
| org.opencontainers.image.title | Bookstack |
| org.opencontainers.image.url | https://github.com/linuxserver/docker-bookstack/packages |
| org.opencontainers.image.vendor | linuxserver.io |
| org.opencontainers.image.version | v25.11.6-ls235 |
Details
2025-12-22 08:14:05 +00:00
Versions (3)
View all
Container
1
OCI / Docker
linux/amd64
linuxserver.io
GPL-3.0-only
100 MiB