Namespace
appflowyinc
Image / Tag
appflowy_ai:0.1.12-amd64
Content Digest
sha256:3bb6c72f8519bae1efa81b8a65c2fa0a8c9bb11aaa9090305ed565ce746de039
Details
Created

2024-05-24 02:24:27 UTC

Size

152 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2024-05-24T02:23:35.743Z
  • org.opencontainers.image.description
  • org.opencontainers.image.licenses
    AGPL-3.0
  • org.opencontainers.image.revision
    9b823f11450db26fb48cf12dbdffa69f0a8e80ae
  • 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.1.12

Environment
GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

LANG

C.UTF-8

PATH

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

PYTHONUNBUFFERED

1

PYTHON_GET_PIP_SHA256

dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

58.1.0

PYTHON_VERSION

3.9.19


Layers

[#000] sha256:09f376ebb190216b0459f470e71bec7b5dfa611d66bf008492b40dcc5f1d8eae - 18.24% (27.8 MB)

[#001] sha256:276709cbedc1f168290ee408fca2af2aacfeb4f922ddca125e9e8047f9841479 - 2.2% (3.35 MB)

[#002] sha256:4e7363ac3b6fb61a9310bbb00e385beaa54c712a9633c01de34cc7d8b0823dba - 7.44% (11.3 MB)

[#003] sha256:1f1e6fb6a4a52a77049d55697db79164d7d0e5a78ae115c657699f4471398fc0 - 0.0% (244 Bytes)

[#004] sha256:bf8f57a642c477da4e61c92dc0c0fd036a8d7e3d3951df39b88c3dd73bf3d5af - 1.96% (2.99 MB)

[#005] sha256:cc9b883b004ffcb8dc71084efeb4e405b1c72969a27732d6ef56c7901f2eaf0f - 0.0% (131 Bytes)

[#006] sha256:429330e73d867bac015e84166651ca42680bb9e3185ff78aa7445f2e8f894fc1 - 0.0% (1.62 KB)

[#007] sha256:e2d264fd2a4bd02035dae5790220b437d7f79fbcc020ab77156f82b9b19dfc7a - 70.14% (107 MB)

[#008] sha256:e6c55c977e33163e16f7ad7c02f83c0c8924aa9357748a52b826181397b3f766 - 0.02% (32.7 KB)


History
2024-05-14 01:28:03 UTC

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

2024-05-14 01:28:04 UTC

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

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

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

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-03-21 23:32:08 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-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.9.19

2024-03-21 23:32:08 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-system-expat --without-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/*; python3 --version # buildkit

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 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-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=58.1.0

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-05-24 02:23:40 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2024-05-24 02:23:40 UTC (buildkit.dockerfile.v0)

COPY requirements.txt . # buildkit

2024-05-24 02:24:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pip install --no-cache-dir -r requirements.txt # buildkit

2024-05-24 02:24:27 UTC (buildkit.dockerfile.v0)

COPY . . # buildkit

2024-05-24 02:24:27 UTC (buildkit.dockerfile.v0)

ENV PYTHONUNBUFFERED=1

2024-05-24 02:24:27 UTC (buildkit.dockerfile.v0)

EXPOSE map[5001/tcp:{}]

2024-05-24 02:24:27 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