dan

calibre-web (0.6.27-ls408-cve-2026-111497.2)

Published 2026-11-14 19:05:06 +00:00 by dan

Installation

docker pull forge.coffee-anon.com/dan/calibre-web:0.6.27-ls408-cve-2026-111497.2
sha256:7c318ea9f985fff75dd5d3e1b96355fe02851d81f7998380fe1149f0db78bba8

About this package

[Calibre-web](https://github.com/janeczku/calibre-web) is a web app providing a clean interface for browsing, reading and downloading eBooks using an existing Calibre database. It is also possible to integrate google drive and edit metadata and your calibre library through the app itself. This software is a fork of library and licensed under the GPL v3 License.

Image layers

COPY /root-out/ / # buildkit
ARG BUILD_DATE=2026-10-28T02:21:58+00:00
ARG VERSION=6beeb7b2-ls91
ARG MODS_VERSION=v3
ARG PKG_INST_VERSION=v1
ARG LSIOWN_VERSION=v1
ARG WITHCONTENV_VERSION=v1
LABEL build_version=Linuxserver.io version:- 6beeb7b2-ls91 Build-date:- 2026-10-28T02:21:58+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
ARG DEBIAN_FRONTEND=noninteractive
ENV HOME=/root LANGUAGE=en_US.UTF-8 LANG=en_US.UTF-8 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
COPY sources.list /etc/apt/ # buildkit
RUN |7 BUILD_DATE=2026-10-28T02:21:58+00:00 VERSION=6beeb7b2-ls91 MODS_VERSION=v3 PKG_INST_VERSION=v1 LSIOWN_VERSION=v1 WITHCONTENV_VERSION=v1 DEBIAN_FRONTEND=noninteractive /bin/sh -c echo "**** Ripped from Ubuntu Docker Logic ****" && rm -f /etc/apt/sources.list.d/ubuntu.sources && set -xe && echo '#!/bin/sh' > /usr/sbin/policy-rc.d && echo 'exit 101' >> /usr/sbin/policy-rc.d && chmod +x /usr/sbin/policy-rc.d && dpkg-divert --local --rename --add /sbin/initctl && cp -a /usr/sbin/policy-rc.d /sbin/initctl && sed -i 's/^exit.*/exit 0/' /sbin/initctl && echo 'force-unsafe-io' > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup && echo 'DPkg::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' > /etc/apt/apt.conf.d/docker-clean && echo 'APT::Update::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' >> /etc/apt/apt.conf.d/docker-clean && echo 'Dir::Cache::pkgcache ""; Dir::Cache::srcpkgcache "";' >> /etc/apt/apt.conf.d/docker-clean && echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/docker-no-languages && echo 'Acquire::GzipIndexes "true"; Acquire::CompressionTypes::Order:: "gz";' > /etc/apt/apt.conf.d/docker-gzip-indexes && echo 'Apt::AutoRemove::SuggestsImportant "false";' > /etc/apt/apt.conf.d/docker-autoremove-suggests && mkdir -p /run/systemd && echo 'docker' > /run/systemd/container && echo "**** install apt-utils and locales ****" && apt-get update && apt-get upgrade -y && apt-get install -y apt-utils locales && echo "**** install packages ****" && apt-get install -y catatonit cron curl gnupg jq netcat-openbsd systemd-standalone-sysusers tzdata && echo "**** generate locale ****" && locale-gen en_US.UTF-8 && echo "**** create abc user and make our folders ****" && useradd -u 911 -U -d /config -s /bin/false abc && usermod -G users abc && mkdir -p /app /config /defaults /lsiopy && echo "**** cleanup ****" && userdel ubuntu && apt-get autoremove && apt-get clean && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* /var/log/* # buildkit
COPY root/ / # buildkit
ENTRYPOINT ["/init"]
ENV LSIO_FIRST_PARTY=true
ARG BUILD_DATE=2026-11-01T05:58:15+00:00
ARG VERSION=0.6.27-ls408
ARG CALIBREWEB_RELEASE=0.6.27
LABEL build_version=Linuxserver.io version:- 0.6.27-ls408 Build-date:- 2026-11-01T05:58:15+00:00
LABEL maintainer=notdriz
ENV QTWEBENGINE_CHROMIUM_FLAGS=--no-sandbox
RUN |3 BUILD_DATE=2026-11-01T05:58:15+00:00 VERSION=0.6.27-ls408 CALIBREWEB_RELEASE=0.6.27 /bin/sh -c echo "**** install build packages ****" && apt-get update && apt-get install -y --no-install-recommends build-essential libldap2-dev libsasl2-dev python3-dev && echo "**** install runtime packages ****" && apt-get install -y --no-install-recommends imagemagick ghostscript libasound2t64 libldap2 libmagic1t64 libsasl2-2 libxi6 libxslt1.1 libxfixes3 python3-venv sqlite3 xdg-utils && echo "**** install calibre-web ****" && if [ -z ${CALIBREWEB_RELEASE+x} ]; then CALIBREWEB_RELEASE=$(curl -sX GET "https://api.github.com/repos/janeczku/calibre-web/releases/latest" | jq -r '.tag_name'); fi && curl -o /tmp/calibre-web.tar.gz -L https://github.com/janeczku/calibre-web/archive/${CALIBREWEB_RELEASE}.tar.gz && mkdir -p /app/calibre-web && tar xf /tmp/calibre-web.tar.gz -C /app/calibre-web --strip-components=1 && cd /app/calibre-web && python3 -m venv /lsiopy && pip install -U --no-cache-dir pip wheel && pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r requirements.txt -r optional-requirements.txt && echo "***install kepubify" && if [ -z ${KEPUBIFY_RELEASE+x} ]; then KEPUBIFY_RELEASE=$(curl -sX GET "https://api.github.com/repos/pgaskin/kepubify/releases/latest" | jq -r '.tag_name'); fi && curl -o /usr/bin/kepubify -L https://github.com/pgaskin/kepubify/releases/download/${KEPUBIFY_RELEASE}/kepubify-linux-64bit && echo "**** cleanup ****" && apt-get -y purge build-essential libldap2-dev libsasl2-dev python3-dev && apt-get -y autoremove && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* /root/.cache # buildkit
COPY root/ / # buildkit
COPY /usr/bin/unrar-ubuntu /usr/bin/unrar # buildkit
EXPOSE [8083/tcp]
VOLUME [/config]
LABEL org.opencontainers.image.base.name=lscr.io/linuxserver/calibre-web:0.6.27-ls408 org.opencontainers.image.base.digest=sha256:f9c692fba85ade1ce71b98364b860f72855055a59198894cc8c2ea49fc98a840 com.coffee-anon.overlay.reason=CVE-2026-111497: Pillow wheels bundle an affected libbrotlidec; built from source com.coffee-anon.overlay.tracking=https://forge.coffee-anon.com/dan/scrapyard-applications/issues/395 com.coffee-anon.overlay.retire-when=upstream ships Pillow >= 13.1.0, or a Pillow release with Brotli >= 1.2.1
COPY /wheels/ /wheels/ # buildkit
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libfreetype6 libjpeg-turbo8 libwebp7 libwebpmux3 libwebpdemux2 libtiff6 libopenjp2-7 liblcms2-2; apt-get install -y --only-upgrade libbrotli1; rm -rf /var/lib/apt/lists/*; /lsiopy/bin/pip install --no-cache-dir --force-reinstall --no-deps /wheels/*.whl; rm -rf /wheels; dpkg --compare-versions "$(dpkg-query -W -f='${Version}' libbrotli1)" ge 1.1.0-2ubuntu0.1; ! find / -xdev -type d -name pillow.libs | grep -q .; /lsiopy/bin/python -c "import re, subprocess; from PIL import _imagingft; linkage = subprocess.check_output(['ldd', _imagingft.__file__], text=True); assert re.search(r'libbrotlidec\.so\.1 => /(?:usr/)?lib/\S+', linkage), linkage"; /lsiopy/bin/python -c "import ctypes; l = ctypes.CDLL('libbrotlidec.so.1'); l.BrotliDecoderErrorString.restype = ctypes.c_char_p; assert l.BrotliDecoderErrorString(-17) == b'_ERROR_FORMAT_BLOCK_SWITCH'"; /lsiopy/bin/python -c "from PIL import features as f; assert f.check('jpg') and f.check('freetype2') and f.check('webp')" # buildkit

Labels

Key Value
build_version Linuxserver.io version:- 0.6.27-ls408 Build-date:- 2026-11-01T05:58:15+00:00
com.coffee-anon.overlay.reason CVE-2026-111497: Pillow wheels bundle an affected libbrotlidec; built from source
com.coffee-anon.overlay.retire-when upstream ships Pillow >= 13.1.0, or a Pillow release with Brotli >= 1.2.1
com.coffee-anon.overlay.tracking https://forge.coffee-anon.com/dan/scrapyard-applications/issues/395
maintainer notdriz
org.opencontainers.image.authors linuxserver.io
org.opencontainers.image.base.digest sha256:f9c692fba85ade1ce71b98364b860f72855055a59198894cc8c2ea49fc98a840
org.opencontainers.image.base.name lscr.io/linuxserver/calibre-web:0.6.27-ls408
org.opencontainers.image.created 2026-11-01T05:58:15+00:00
org.opencontainers.image.description [Calibre-web](https://github.com/janeczku/calibre-web) is a web app providing a clean interface for browsing, reading and downloading eBooks using an existing Calibre database. It is also possible to integrate google drive and edit metadata and your calibre library through the app itself. This software is a fork of library and licensed under the GPL v3 License.
org.opencontainers.image.documentation https://docs.linuxserver.io/images/docker-calibre-web
org.opencontainers.image.licenses GPL-3.0-only
org.opencontainers.image.ref.name 0182f01b005c5e82b3ece009fb02e677a86e5bf0
org.opencontainers.image.revision 0182f01b005c5e82b3ece009fb02e677a86e5bf0
org.opencontainers.image.source https://github.com/linuxserver/docker-calibre-web
org.opencontainers.image.title Calibre-web
org.opencontainers.image.url https://github.com/linuxserver/docker-calibre-web/packages
org.opencontainers.image.vendor linuxserver.io
org.opencontainers.image.version 0.6.27-ls408
Details
Container
2026-11-14 19:05:06 +00:00
95
OCI / Docker
linux/amd64
linuxserver.io
GPL-3.0-only
253 MiB
Versions (2) View all