Namespace
crocodilestick
Image / Tag
calibre-web-automated:latest
Content Digest
sha256:577e846f104fd21453ef306eefb4a95dd95b3b9ddd2463a150944494284da0fd
Details
Created

2025-08-12 08:40:01 UTC

Size

722 MB

Content Digest
Labels
  • CW-base-version
    0.6.24
  • build_date
    2025-08-12T07:52:40Z
  • build_version
    Version:- V3.1.4
  • maintainer
    CrocodileStick
  • org.opencontainers.image.authors
    linuxserver.io
  • org.opencontainers.image.created
    2025-07-29T23:37:16+00:00
  • org.opencontainers.image.description
    baseimage-ubuntu image by linuxserver.io
  • org.opencontainers.image.documentation
    https://docs.linuxserver.io/images/docker-baseimage-ubuntu
  • org.opencontainers.image.licenses
    GPL-3.0-only
  • org.opencontainers.image.ref.name
    a43054a951bd4a311f140175a70a00133d8586d3
  • org.opencontainers.image.revision
    a43054a951bd4a311f140175a70a00133d8586d3
  • org.opencontainers.image.source
    https://github.com/linuxserver/docker-baseimage-ubuntu
  • org.opencontainers.image.title
    Baseimage-ubuntu
  • org.opencontainers.image.url
    https://github.com/linuxserver/docker-baseimage-ubuntu/packages
  • org.opencontainers.image.vendor
    linuxserver.io
  • org.opencontainers.image.version
    4de2673c-ls144

Environment
HOME

/root

LANG

en_US.UTF-8

LANGUAGE

en_US.UTF-8

PATH

/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

S6_CMD_WAIT_FOR_SERVICES_MAXTIME

0

S6_STAGE2_HOOK

/docker-mods

S6_VERBOSITY

1

TERM

xterm

VIRTUAL_ENV

/lsiopy


Layers

[#000] sha256:f0dad556b988a15f9e17d87afe37f6f0e2dabbdcf35aa404439cc4078bfb6618 - 4.32% (31.2 MB)

[#001] sha256:c0f8eff906b8b4379c387842515be0c1cca71b1826474bd58a4f4e3018ed9b9c - 0.0% (6.07 KB)

[#002] sha256:40954d1976022fc61f2510ed0c025f5168a023814c8940fabdd9552fff2bb859 - 0.0% (1.33 KB)

[#003] sha256:6046ebe361f1a7c1a5d30904cfd09370fe991e946b99e34259ab3eea79f101cb - 0.0% (706 Bytes)

[#004] sha256:4f8f3ec9151e9bfd32ca59f311483738fd832f3671a8dcfe7f026151abdb6434 - 0.0% (273 Bytes)

[#005] sha256:ff0554eda3a8c6ddf7295a5166113e717aff19ea093873f1966dade6b0983473 - 4.9% (35.4 MB)

[#006] sha256:915c8daca26b40c008e1803c5b910d8201939587a22d572c86d2c33f3568398e - 0.0% (4.41 KB)

[#007] sha256:31d8fc80327222413a2d5eb11cb35d6db7adc79b746a7ccce40570dfa30b0101 - 0.92% (6.64 MB)

[#008] sha256:eef70e4376895478def645bf383eed5f82f381e6d5503e3b67a1a1fa041466ae - 89.75% (648 MB)

[#009] sha256:f3326a3e170a349f4a51424e7298cf57d8160decdfd96261c119e92493473394 - 0.03% (185 KB)

[#010] sha256:5e96c208083aaa0dea049f52db03d7c17923fb000e8ff1c9dc79ad3baa85ec7b - 0.08% (594 KB)

[#011] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2025-07-29 23:38:35 UTC (buildkit.dockerfile.v0)

COPY /root-out/ / # buildkit

2025-07-29 23:38:35 UTC (buildkit.dockerfile.v0)

ARG BUILD_DATE=2025-07-29T23:37:16+00:00

2025-07-29 23:38:35 UTC (buildkit.dockerfile.v0)

ARG VERSION=4de2673c-ls144

2025-07-29 23:38:35 UTC (buildkit.dockerfile.v0)

ARG MODS_VERSION=v3

2025-07-29 23:38:35 UTC (buildkit.dockerfile.v0)

ARG PKG_INST_VERSION=v1

2025-07-29 23:38:35 UTC (buildkit.dockerfile.v0)

ARG LSIOWN_VERSION=v1

2025-07-29 23:38:35 UTC (buildkit.dockerfile.v0)

LABEL build_version=Linuxserver.io version:- 4de2673c-ls144 Build-date:- 2025-07-29T23:37:16+00:00

2025-07-29 23:38:35 UTC (buildkit.dockerfile.v0)

LABEL maintainer=TheLamer

2025-07-29 23:38:35 UTC (buildkit.dockerfile.v0)

ADD --chmod=744 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit

2025-07-29 23:38:35 UTC (buildkit.dockerfile.v0)

ADD --chmod=744 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/package-install.v1 /etc/s6-overlay/s6-rc.d/init-mods-package-install/run # buildkit

2025-07-29 23:38:35 UTC (buildkit.dockerfile.v0)

ADD --chmod=744 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.v1 /usr/bin/lsiown # buildkit

2025-07-29 23:38:35 UTC (buildkit.dockerfile.v0)

ARG DEBIAN_FRONTEND=noninteractive

2025-07-29 23:38:35 UTC (buildkit.dockerfile.v0)

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

2025-07-29 23:38:35 UTC (buildkit.dockerfile.v0)

COPY sources.list /etc/apt/ # buildkit

2025-07-29 23:39:10 UTC (buildkit.dockerfile.v0)

RUN |6 BUILD_DATE=2025-07-29T23:37:16+00:00 VERSION=4de2673c-ls144 MODS_VERSION=v3 PKG_INST_VERSION=v1 LSIOWN_VERSION=v1 DEBIAN_FRONTEND=noninteractive /bin/sh -c echo "**** Ripped from Ubuntu Docker Logic ****" && 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 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 ****" && apt-get autoremove && apt-get clean && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* /var/log/* # buildkit

2025-07-29 23:39:10 UTC (buildkit.dockerfile.v0)

COPY root/ / # buildkit

2025-07-29 23:39:10 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/init"]

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

SHELL [/bin/bash -c]

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

ARG BUILD_DATE=2025-08-12T07:52:40Z

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

ARG VERSION=V3.1.4

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

ARG CALIBREWEB_RELEASE=0.6.24

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

ARG CALIBRE_RELEASE=8.8.0

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

ARG KEPUBIFY_RELEASE=v4.0.4

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

LABEL build_version=Version:- V3.1.4

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

LABEL build_date=2025-08-12T07:52:40Z

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

LABEL CW-base-version=0.6.24

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

LABEL maintainer=CrocodileStick

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

COPY --chown=abc:abc . /app/calibre-web-automated/ # buildkit

2025-08-12 08:39:57 UTC (buildkit.dockerfile.v0)

RUN |5 BUILD_DATE=2025-08-12T07:52:40Z VERSION=V3.1.4 CALIBREWEB_RELEASE=0.6.24 CALIBRE_RELEASE=8.8.0 KEPUBIFY_RELEASE=v4.0.4 /bin/bash -c echo "**** install build packages ****" && apt-get update && apt-get install -y --no-install-recommends build-essential libldap2-dev libsasl2-dev gettext python3-dev && echo "**** install runtime packages ****" && apt-get install -y --no-install-recommends imagemagick ghostscript libldap-2.5-0 libmagic1 libsasl2-2 libxi6 libxslt1.1 xdg-utils inotify-tools python3 python3-pip nano sqlite3 zip python3-venv && cd /app/calibre-web-automated && 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 && cp -R /app/calibre-web-automated/root/* / && rm -R /app/calibre-web-automated/root/ && chmod +x /app/calibre-web-automated/scripts/setup-cwa.sh && /app/calibre-web-automated/scripts/setup-cwa.sh && echo "~~~~ Creating koplugin.zip from KOReader plugin folder... ~~~~" && if [ -d "/app/calibre-web-automated/koreader/plugins/cwasync.koplugin" ]; then cd /app/calibre-web-automated/koreader/plugins && echo "Calculating digest of plugin files..." && PLUGIN_DIGEST=$(find cwasync.koplugin -type f -name "*.lua" -o -name "*.json" | sort | xargs sha256sum | sha256sum | cut -d' ' -f1) && echo "Plugin digest: $PLUGIN_DIGEST" && echo "Plugin files digest: $PLUGIN_DIGEST" > cwasync.koplugin/${PLUGIN_DIGEST}.digest && echo "Build date: $(date)" >> cwasync.koplugin/${PLUGIN_DIGEST}.digest && echo "Files included:" >> cwasync.koplugin/${PLUGIN_DIGEST}.digest && find cwasync.koplugin -type f -name "*.lua" -o -name "*.json" | sort >> cwasync.koplugin/${PLUGIN_DIGEST}.digest && zip -r koplugin.zip cwasync.koplugin/ && echo "Created koplugin.zip from cwasync.koplugin folder with digest file: ${PLUGIN_DIGEST}.digest"; else echo "Warning: cwasync.koplugin folder not found, skipping zip creation"; fi && if [ -f "/app/calibre-web-automated/koreader/plugins/koplugin.zip" ]; then mkdir -p /app/calibre-web-automated/cps/static && cp /app/calibre-web-automated/koreader/plugins/koplugin.zip /app/calibre-web-automated/cps/static/ && echo "Moved koplugin.zip to static directory"; else echo "Warning: koplugin.zip not found, skipping move to static directory"; fi && echo "**** install kepubify ****" && if [[ $KEPUBIFY_RELEASE == 'newest' ]]; then KEPUBIFY_RELEASE=$(curl -sX GET "https://api.github.com/repos/pgaskin/kepubify/releases/latest" | awk '/tag_name/{print $4;exit}' FS='[""]'); fi && if [ "$(uname -m)" == "x86_64" ]; then curl -o /usr/bin/kepubify -L https://github.com/pgaskin/kepubify/releases/download/${KEPUBIFY_RELEASE}/kepubify-linux-64bit; elif [ "$(uname -m)" == "aarch64" ]; then curl -o /usr/bin/kepubify -L https://github.com/pgaskin/kepubify/releases/download/${KEPUBIFY_RELEASE}/kepubify-linux-arm64; fi && apt-get update && apt-get install -y --no-install-recommends libxtst6 libxrandr2 libxkbfile1 libxcomposite1 libopengl0 libnss3 libxkbcommon0 libegl1 libxdamage1 libgl1 libglx-mesa0 xz-utils binutils && mkdir -p /app/calibre && if [ "$(uname -m)" == "x86_64" ]; then curl -o /calibre.txz -L "https://download.calibre-ebook.com/${CALIBRE_RELEASE}/calibre-${CALIBRE_RELEASE}-x86_64.txz"; elif [ "$(uname -m)" == "aarch64" ]; then curl -o /calibre.txz -L "https://download.calibre-ebook.com/${CALIBRE_RELEASE}/calibre-${CALIBRE_RELEASE}-arm64.txz"; fi && tar xf /calibre.txz -C /app/calibre && rm /calibre.txz && echo "$VERSION" >| /app/CWA_RELEASE && echo "$KEPUBIFY_RELEASE" >| /app/KEPUBIFY_RELEASE && echo "$CALIBRE_RELEASE" > /CALIBRE_RELEASE # buildkit

2025-08-12 08:40:01 UTC (buildkit.dockerfile.v0)

RUN |5 BUILD_DATE=2025-08-12T07:52:40Z VERSION=V3.1.4 CALIBREWEB_RELEASE=0.6.24 CALIBRE_RELEASE=8.8.0 KEPUBIFY_RELEASE=v4.0.4 /bin/bash -c echo "**** cleanup ****" && apt-get -y purge build-essential libldap2-dev libsasl2-dev gettext python3-dev && apt-get -y autoremove && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* /root/.cache # buildkit

2025-08-12 08:40:01 UTC (buildkit.dockerfile.v0)

COPY /usr/bin/unrar-ubuntu /usr/bin/unrar # buildkit

2025-08-12 08:40:01 UTC (buildkit.dockerfile.v0)

WORKDIR /config

2025-08-12 08:40:01 UTC (buildkit.dockerfile.v0)

EXPOSE map[8083/tcp:{}]

2025-08-12 08:40:01 UTC (buildkit.dockerfile.v0)

VOLUME [/config]

2025-08-12 08:40:01 UTC (buildkit.dockerfile.v0)

VOLUME [/cwa-book-ingest]

2025-08-12 08:40:01 UTC (buildkit.dockerfile.v0)

VOLUME [/calibre-library]

Details
Created

2025-08-12 08:49:57 UTC

Size

699 MB

Content Digest
Labels
  • CW-base-version
    0.6.24
  • build_date
    2025-08-12T07:52:40Z
  • build_version
    Version:- V3.1.4
  • maintainer
    CrocodileStick
  • org.opencontainers.image.authors
    linuxserver.io
  • org.opencontainers.image.created
    2025-07-29T23:37:16+00:00
  • org.opencontainers.image.description
    baseimage-ubuntu image by linuxserver.io
  • org.opencontainers.image.documentation
    https://docs.linuxserver.io/images/docker-baseimage-ubuntu
  • org.opencontainers.image.licenses
    GPL-3.0-only
  • org.opencontainers.image.ref.name
    a43054a951bd4a311f140175a70a00133d8586d3
  • org.opencontainers.image.revision
    a43054a951bd4a311f140175a70a00133d8586d3
  • org.opencontainers.image.source
    https://github.com/linuxserver/docker-baseimage-ubuntu
  • org.opencontainers.image.title
    Baseimage-ubuntu
  • org.opencontainers.image.url
    https://github.com/linuxserver/docker-baseimage-ubuntu/packages
  • org.opencontainers.image.vendor
    linuxserver.io
  • org.opencontainers.image.version
    4de2673c-ls144

Environment
HOME

/root

LANG

en_US.UTF-8

LANGUAGE

en_US.UTF-8

PATH

/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

S6_CMD_WAIT_FOR_SERVICES_MAXTIME

0

S6_STAGE2_HOOK

/docker-mods

S6_VERBOSITY

1

TERM

xterm

VIRTUAL_ENV

/lsiopy


Layers

[#000] sha256:35d0aa31bc25e888eb224efa2231e7c451209f80c2b86d3fc8e672192a73a822 - 4.25% (29.7 MB)

[#001] sha256:c0f8eff906b8b4379c387842515be0c1cca71b1826474bd58a4f4e3018ed9b9c - 0.0% (6.07 KB)

[#002] sha256:ee19a4ba2edffa74b0bed954850fdf530673d1f6e53ba196943c3b980a72cea4 - 0.0% (1.33 KB)

[#003] sha256:df31ab23127aaad431f31ffd76ca61a4f50693e6c48681096686ececa06cff8d - 0.0% (705 Bytes)

[#004] sha256:92c3629c175e8e1f488dce67b22d89a969ac21c4d08160f8fde5cbc45410806c - 0.0% (276 Bytes)

[#005] sha256:dd98435cad040d83f4e2d8e0d2d7b63f35dfb17120b69459da4a9d20784447c4 - 5.01% (35.1 MB)

[#006] sha256:f89bb322f33de907fd22c6e62cefaa15e9e19b0d75fa0b26010653398c8eabf8 - 0.0% (4.41 KB)

[#007] sha256:31d8fc80327222413a2d5eb11cb35d6db7adc79b746a7ccce40570dfa30b0101 - 0.95% (6.64 MB)

[#008] sha256:90a3669c81b32fbaff834ed91661f8a096978abb8986bb913a63b33fd4dada9e - 89.67% (627 MB)

[#009] sha256:6eb21cd07d8a9cdab6908e74e3df220c180f26d56d2ad951b3bb3ef16d071517 - 0.03% (210 KB)

[#010] sha256:ac9a38b2cb9021e8e049f82f3c0ca8f8203d28bacd926d0293ed89122400606f - 0.08% (590 KB)

[#011] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2025-07-29 23:38:47 UTC (buildkit.dockerfile.v0)

COPY /root-out/ / # buildkit

2025-07-29 23:38:48 UTC (buildkit.dockerfile.v0)

ARG BUILD_DATE=2025-07-29T23:37:16+00:00

2025-07-29 23:38:48 UTC (buildkit.dockerfile.v0)

ARG VERSION=4de2673c-ls144

2025-07-29 23:38:48 UTC (buildkit.dockerfile.v0)

ARG MODS_VERSION=v3

2025-07-29 23:38:48 UTC (buildkit.dockerfile.v0)

ARG PKG_INST_VERSION=v1

2025-07-29 23:38:48 UTC (buildkit.dockerfile.v0)

ARG LSIOWN_VERSION=v1

2025-07-29 23:38:48 UTC (buildkit.dockerfile.v0)

LABEL build_version=Linuxserver.io version:- 4de2673c-ls144 Build-date:- 2025-07-29T23:37:16+00:00

2025-07-29 23:38:48 UTC (buildkit.dockerfile.v0)

LABEL maintainer=TheLamer

2025-07-29 23:38:48 UTC (buildkit.dockerfile.v0)

ADD --chmod=744 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit

2025-07-29 23:38:48 UTC (buildkit.dockerfile.v0)

ADD --chmod=744 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/package-install.v1 /etc/s6-overlay/s6-rc.d/init-mods-package-install/run # buildkit

2025-07-29 23:38:48 UTC (buildkit.dockerfile.v0)

ADD --chmod=744 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.v1 /usr/bin/lsiown # buildkit

2025-07-29 23:38:48 UTC (buildkit.dockerfile.v0)

ARG DEBIAN_FRONTEND=noninteractive

2025-07-29 23:38:48 UTC (buildkit.dockerfile.v0)

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

2025-07-29 23:38:48 UTC (buildkit.dockerfile.v0)

COPY sources.list.arm /etc/apt/sources.list # buildkit

2025-07-29 23:39:31 UTC (buildkit.dockerfile.v0)

RUN |6 BUILD_DATE=2025-07-29T23:37:16+00:00 VERSION=4de2673c-ls144 MODS_VERSION=v3 PKG_INST_VERSION=v1 LSIOWN_VERSION=v1 DEBIAN_FRONTEND=noninteractive /bin/sh -c echo "**** Ripped from Ubuntu Docker Logic ****" && 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 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 "**** add qemu ****" && curl -o /usr/bin/qemu-aarch64-static -L "https://lsio-ci.ams3.digitaloceanspaces.com/qemu-aarch64-static" && chmod +x /usr/bin/qemu-aarch64-static && echo "**** cleanup ****" && apt-get autoremove && apt-get clean && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* /var/log/* # buildkit

2025-07-29 23:39:31 UTC (buildkit.dockerfile.v0)

COPY root/ / # buildkit

2025-07-29 23:39:31 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/init"]

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

SHELL [/bin/bash -c]

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

ARG BUILD_DATE=2025-08-12T07:52:40Z

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

ARG VERSION=V3.1.4

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

ARG CALIBREWEB_RELEASE=0.6.24

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

ARG CALIBRE_RELEASE=8.8.0

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

ARG KEPUBIFY_RELEASE=v4.0.4

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

LABEL build_version=Version:- V3.1.4

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

LABEL build_date=2025-08-12T07:52:40Z

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

LABEL CW-base-version=0.6.24

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

LABEL maintainer=CrocodileStick

2025-08-12 08:38:26 UTC (buildkit.dockerfile.v0)

COPY --chown=abc:abc . /app/calibre-web-automated/ # buildkit

2025-08-12 08:49:25 UTC (buildkit.dockerfile.v0)

RUN |5 BUILD_DATE=2025-08-12T07:52:40Z VERSION=V3.1.4 CALIBREWEB_RELEASE=0.6.24 CALIBRE_RELEASE=8.8.0 KEPUBIFY_RELEASE=v4.0.4 /bin/bash -c echo "**** install build packages ****" && apt-get update && apt-get install -y --no-install-recommends build-essential libldap2-dev libsasl2-dev gettext python3-dev && echo "**** install runtime packages ****" && apt-get install -y --no-install-recommends imagemagick ghostscript libldap-2.5-0 libmagic1 libsasl2-2 libxi6 libxslt1.1 xdg-utils inotify-tools python3 python3-pip nano sqlite3 zip python3-venv && cd /app/calibre-web-automated && 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 && cp -R /app/calibre-web-automated/root/* / && rm -R /app/calibre-web-automated/root/ && chmod +x /app/calibre-web-automated/scripts/setup-cwa.sh && /app/calibre-web-automated/scripts/setup-cwa.sh && echo "~~~~ Creating koplugin.zip from KOReader plugin folder... ~~~~" && if [ -d "/app/calibre-web-automated/koreader/plugins/cwasync.koplugin" ]; then cd /app/calibre-web-automated/koreader/plugins && echo "Calculating digest of plugin files..." && PLUGIN_DIGEST=$(find cwasync.koplugin -type f -name "*.lua" -o -name "*.json" | sort | xargs sha256sum | sha256sum | cut -d' ' -f1) && echo "Plugin digest: $PLUGIN_DIGEST" && echo "Plugin files digest: $PLUGIN_DIGEST" > cwasync.koplugin/${PLUGIN_DIGEST}.digest && echo "Build date: $(date)" >> cwasync.koplugin/${PLUGIN_DIGEST}.digest && echo "Files included:" >> cwasync.koplugin/${PLUGIN_DIGEST}.digest && find cwasync.koplugin -type f -name "*.lua" -o -name "*.json" | sort >> cwasync.koplugin/${PLUGIN_DIGEST}.digest && zip -r koplugin.zip cwasync.koplugin/ && echo "Created koplugin.zip from cwasync.koplugin folder with digest file: ${PLUGIN_DIGEST}.digest"; else echo "Warning: cwasync.koplugin folder not found, skipping zip creation"; fi && if [ -f "/app/calibre-web-automated/koreader/plugins/koplugin.zip" ]; then mkdir -p /app/calibre-web-automated/cps/static && cp /app/calibre-web-automated/koreader/plugins/koplugin.zip /app/calibre-web-automated/cps/static/ && echo "Moved koplugin.zip to static directory"; else echo "Warning: koplugin.zip not found, skipping move to static directory"; fi && echo "**** install kepubify ****" && if [[ $KEPUBIFY_RELEASE == 'newest' ]]; then KEPUBIFY_RELEASE=$(curl -sX GET "https://api.github.com/repos/pgaskin/kepubify/releases/latest" | awk '/tag_name/{print $4;exit}' FS='[""]'); fi && if [ "$(uname -m)" == "x86_64" ]; then curl -o /usr/bin/kepubify -L https://github.com/pgaskin/kepubify/releases/download/${KEPUBIFY_RELEASE}/kepubify-linux-64bit; elif [ "$(uname -m)" == "aarch64" ]; then curl -o /usr/bin/kepubify -L https://github.com/pgaskin/kepubify/releases/download/${KEPUBIFY_RELEASE}/kepubify-linux-arm64; fi && apt-get update && apt-get install -y --no-install-recommends libxtst6 libxrandr2 libxkbfile1 libxcomposite1 libopengl0 libnss3 libxkbcommon0 libegl1 libxdamage1 libgl1 libglx-mesa0 xz-utils binutils && mkdir -p /app/calibre && if [ "$(uname -m)" == "x86_64" ]; then curl -o /calibre.txz -L "https://download.calibre-ebook.com/${CALIBRE_RELEASE}/calibre-${CALIBRE_RELEASE}-x86_64.txz"; elif [ "$(uname -m)" == "aarch64" ]; then curl -o /calibre.txz -L "https://download.calibre-ebook.com/${CALIBRE_RELEASE}/calibre-${CALIBRE_RELEASE}-arm64.txz"; fi && tar xf /calibre.txz -C /app/calibre && rm /calibre.txz && echo "$VERSION" >| /app/CWA_RELEASE && echo "$KEPUBIFY_RELEASE" >| /app/KEPUBIFY_RELEASE && echo "$CALIBRE_RELEASE" > /CALIBRE_RELEASE # buildkit

2025-08-12 08:49:57 UTC (buildkit.dockerfile.v0)

RUN |5 BUILD_DATE=2025-08-12T07:52:40Z VERSION=V3.1.4 CALIBREWEB_RELEASE=0.6.24 CALIBRE_RELEASE=8.8.0 KEPUBIFY_RELEASE=v4.0.4 /bin/bash -c echo "**** cleanup ****" && apt-get -y purge build-essential libldap2-dev libsasl2-dev gettext python3-dev && apt-get -y autoremove && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* /root/.cache # buildkit

2025-08-12 08:49:57 UTC (buildkit.dockerfile.v0)

COPY /usr/bin/unrar-ubuntu /usr/bin/unrar # buildkit

2025-08-12 08:49:57 UTC (buildkit.dockerfile.v0)

WORKDIR /config

2025-08-12 08:49:57 UTC (buildkit.dockerfile.v0)

EXPOSE map[8083/tcp:{}]

2025-08-12 08:49:57 UTC (buildkit.dockerfile.v0)

VOLUME [/config]

2025-08-12 08:49:57 UTC (buildkit.dockerfile.v0)

VOLUME [/cwa-book-ingest]

2025-08-12 08:49:57 UTC (buildkit.dockerfile.v0)

VOLUME [/calibre-library]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete