Namespace
appflowyinc
Image / Tag
appflowy_ai:0.6.11-amd64
Content Digest
sha256:1d8a92752d5897078f1d7fe95d0acf16d0545d0f06b6ce9432d32caef5e53a6e
Details
Created

2024-09-13 08:17:45 UTC

Size

467 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2024-09-13T08:17:08.099Z
  • org.opencontainers.image.description
  • org.opencontainers.image.licenses
    AGPL-3.0
  • org.opencontainers.image.revision
    59a3e61aced237520b97330485f609b7c8e3fb62
  • org.opencontainers.image.source
    https://github.com/AppFlowy-IO/AppFlowy-AI
  • org.opencontainers.image.title
    AppFlowy-AI
  • org.opencontainers.image.url
    https://github.com/AppFlowy-IO/AppFlowy-AI
  • org.opencontainers.image.version
    0.6.11

Environment
GPG_KEY

7169605F62C751356D054A26A821E680E5FA6305

LANG

C.UTF-8

PATH

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

PYTHONPATH

/usr/src/app

PYTHONUNBUFFERED

1

PYTHON_VERSION

3.12.6


Layers

[#000] sha256:a2318d6c47ec9cac5acc500c47c79602bcf953cec711a18bc898911a0984365b - 5.94% (27.8 MB)

[#001] sha256:e0175c87c1f4dd35ec6d9c24c73f6be94dbd52a1fd7fae8218c8c0b2865a6d00 - 0.72% (3.35 MB)

[#002] sha256:bea1d778e3e05fb1de9d2ba1276e9a89ade4d63ae2c26df474777f4e97b4a5cf - 2.74% (12.8 MB)

[#003] sha256:7ce703381f53066514e923208d550e9e04110767f773052481f7a627051799ae - 0.0% (251 Bytes)

[#004] sha256:be87c1c224efcb1a29d454eae8cd287c0fd744f542194746034b52e081c8fd2b - 0.0% (132 Bytes)

[#005] sha256:cab0a2c1233b2d663d543c8246a828e03a5dfef30191902f12f8bd06e73a607d - 17.74% (82.9 MB)

[#006] sha256:61a2bdf8a22857d58e437e4dec557bb5d0c24bd5bcfc54d0f76cabb50bc7dea4 - 5.08% (23.7 MB)

[#007] sha256:542e44e0914d055e8f39d783b7da18cd80ef2da720921a6903a14abcb607613c - 0.44% (2.08 MB)

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

[#009] sha256:748bf5ef8ecbeb06423bb54890eb4b30db2ca7fa0f8326eb5f6fdd60c210a222 - 67.34% (315 MB)


History
2024-09-04 22:30:47 UTC

/bin/sh -c #(nop) ADD file:d13afefcc2b0b02b598a3ac2598fe2187db41de1e17820e5b600a955b1429d59 in /

2024-09-04 22:30:47 UTC

/bin/sh -c #(nop) CMD ["bash"]

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.12.6

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libexpat1-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 --version # buildkit

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pip3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-09-13 08:17:11 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2024-09-13 08:17:22 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apt-get update && apt-get install -y gcc libpq-dev && rm -rf /var/lib/apt/lists/* # buildkit

2024-09-13 08:17:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pip install --no-cache-dir poetry # buildkit

2024-09-13 08:17:31 UTC (buildkit.dockerfile.v0)

COPY . . # buildkit

2024-09-13 08:17:31 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app/server

2024-09-13 08:17:45 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c poetry config virtualenvs.create false && poetry install --no-root # buildkit

2024-09-13 08:17:45 UTC (buildkit.dockerfile.v0)

ENV PYTHONUNBUFFERED=1

2024-09-13 08:17:45 UTC (buildkit.dockerfile.v0)

ENV PYTHONPATH=/usr/src/app

2024-09-13 08:17:45 UTC (buildkit.dockerfile.v0)

EXPOSE map[5001/tcp:{}]

2024-09-13 08:17:45 UTC (buildkit.dockerfile.v0)

CMD ["sh" "-c" "uvicorn main:app --host 0.0.0.0 --port ${APPFLOWY_AI_SERVER_PORT:-5001}"]

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