Namespace
langgenius
Image / Tag
dify-api:781d294f49e6f51f6d979545ef9aebdc351b5673
Content Digest
sha256:ee02fdd2f049db0633931f41a21ba3818286f0f0bb2af2021b8f19aef2a3ef08
Details
Created

2024-09-11 10:56:52 UTC

Size

734 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2024-09-11T10:55:19.180Z
  • org.opencontainers.image.description
    Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
  • org.opencontainers.image.licenses
    NOASSERTION
  • org.opencontainers.image.revision
    781d294f49e6f51f6d979545ef9aebdc351b5673
  • org.opencontainers.image.source
    https://github.com/langgenius/dify
  • org.opencontainers.image.title
    dify
  • org.opencontainers.image.url
    https://github.com/langgenius/dify
  • org.opencontainers.image.version
    main

Environment
APP_WEB_URL

http://127.0.0.1:3000

COMMIT_SHA

781d294f49e6f51f6d979545ef9aebdc351b5673

CONSOLE_API_URL

http://127.0.0.1:5001

CONSOLE_WEB_URL

http://127.0.0.1:3000

DEPLOY_ENV

PRODUCTION

EDITION

SELF_HOSTED

FLASK_APP

app.py

GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

/app/api/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

POETRY_CACHE_DIR

/tmp/poetry_cache

POETRY_NO_INTERACTION

1

POETRY_REQUESTS_TIMEOUT

15

POETRY_VERSION

1.8.3

POETRY_VIRTUALENVS_CREATE

true

POETRY_VIRTUALENVS_IN_PROJECT

true

PYTHON_GET_PIP_SHA256

bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.15

SERVICE_API_URL

http://127.0.0.1:5001

TZ

UTC

VIRTUAL_ENV

/app/api/.venv


Layers

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

[#001] sha256:06031b2660e18fb8dbdeb5d6265fe89fca904df486b15ef35e3f522c40f70105 - 0.46% (3.35 MB)

[#002] sha256:608a12be06cb97b30beb100e2284292430577b6253d056dafd536a8a2c7e5b64 - 1.61% (11.8 MB)

[#003] sha256:056b23198375d898d881fa07b79898f7a0e0b0a101772d3718d0f13e2b81c75b - 0.0% (231 Bytes)

[#004] sha256:bdca2c3c159a00efdc0b166edccd03565c220160b9cd2cd650c385bf11715f7f - 0.41% (3.01 MB)

[#005] sha256:353560f7fb39cde55d7aef1725852e18d66080501bafdab1b24c5ce712cadb18 - 0.0% (111 Bytes)

[#006] sha256:782aad5e4b1c3949cdcd547302c46f6299997a881deeabde3c966c82c4d960f8 - 2.97% (21.8 MB)

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

[#008] sha256:bcbdb3da5bc298810c5cc24cceccce96d95615e514a699f8bac7a28f285f0546 - 8.38% (61.5 MB)

[#009] sha256:370453e85cd37af12d1d474c00a5acb5fff78a32df6c466731a4ad4239e6f83b - 76.27% (559 MB)

[#010] sha256:e31bf576e750810c8d2468599a62f2b35231d6fab8d3213f1dda574b6dd27eae - 4.98% (36.5 MB)

[#011] sha256:2a725b1e057916f165f9e91c0961e8a531e200f8892ade8bc9ae8ba2bd2c8352 - 1.14% (8.33 MB)

[#012] sha256:206f397b19eee0216bb7129c5a414566611d7d0bac67748ee5746e83c2901fce - 0.0% (719 Bytes)

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


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-07 03:49:13 UTC (buildkit.dockerfile.v0)

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

2024-09-07 03:49:13 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-09-07 03:49:13 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-07 03:49:13 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-09-07 03:49:13 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.15

2024-09-07 03:49:13 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 --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-09-07 03:49:13 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-09-07 03:49:13 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2024-09-07 03:49:13 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2024-09-07 03:49:13 UTC (buildkit.dockerfile.v0)

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

2024-09-07 03:49:13 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

2024-09-07 03:49:13 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" wheel ; rm -f get-pip.py; pip --version # buildkit

2024-09-07 03:49:13 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-09-10 01:14:18 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2024-09-10 01:14:27 UTC (buildkit.dockerfile.v0)

ENV POETRY_VERSION=1.8.3

2024-09-10 01:14:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pip install --no-cache-dir poetry==${POETRY_VERSION} # buildkit

2024-09-10 01:14:27 UTC (buildkit.dockerfile.v0)

ENV POETRY_CACHE_DIR=/tmp/poetry_cache

2024-09-10 01:14:27 UTC (buildkit.dockerfile.v0)

ENV POETRY_NO_INTERACTION=1

2024-09-10 01:14:27 UTC (buildkit.dockerfile.v0)

ENV POETRY_VIRTUALENVS_IN_PROJECT=true

2024-09-10 01:14:27 UTC (buildkit.dockerfile.v0)

ENV POETRY_VIRTUALENVS_CREATE=true

2024-09-10 01:14:27 UTC (buildkit.dockerfile.v0)

ENV POETRY_REQUESTS_TIMEOUT=15

2024-09-10 01:14:27 UTC (buildkit.dockerfile.v0)

ENV FLASK_APP=app.py

2024-09-10 01:14:27 UTC (buildkit.dockerfile.v0)

ENV EDITION=SELF_HOSTED

2024-09-10 01:14:27 UTC (buildkit.dockerfile.v0)

ENV DEPLOY_ENV=PRODUCTION

2024-09-10 01:14:27 UTC (buildkit.dockerfile.v0)

ENV CONSOLE_API_URL=http://127.0.0.1:5001

2024-09-10 01:14:27 UTC (buildkit.dockerfile.v0)

ENV CONSOLE_WEB_URL=http://127.0.0.1:3000

2024-09-10 01:14:27 UTC (buildkit.dockerfile.v0)

ENV SERVICE_API_URL=http://127.0.0.1:5001

2024-09-10 01:14:27 UTC (buildkit.dockerfile.v0)

ENV APP_WEB_URL=http://127.0.0.1:3000

2024-09-10 01:14:27 UTC (buildkit.dockerfile.v0)

EXPOSE map[5001/tcp:{}]

2024-09-10 01:14:27 UTC (buildkit.dockerfile.v0)

ENV TZ=UTC

2024-09-11 10:25:55 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2024-09-10 05:01:19 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl nodejs libgmp-dev libmpfr-dev libmpc-dev && echo "deb http://deb.debian.org/debian testing main" > /etc/apt/sources.list && apt-get update && apt-get install -y --no-install-recommends zlib1g=1:1.3.dfsg+really1.3.1-1 expat=2.6.3-1 libldap-2.5-0=2.5.18+dfsg-3 perl=5.38.2-5 libsqlite3-0=3.46.0-1 && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* # buildkit

2024-09-10 05:01:19 UTC (buildkit.dockerfile.v0)

ENV VIRTUAL_ENV=/app/api/.venv

2024-09-11 10:56:48 UTC (buildkit.dockerfile.v0)

COPY /app/api/.venv /app/api/.venv # buildkit

2024-09-11 10:56:48 UTC (buildkit.dockerfile.v0)

ENV PATH=/app/api/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-09-11 10:56:52 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c python -c "import nltk; nltk.download('punkt'); nltk.download('averaged_perceptron_tagger')" # buildkit

2024-09-11 10:56:52 UTC (buildkit.dockerfile.v0)

COPY . /app/api/ # buildkit

2024-09-11 10:56:52 UTC (buildkit.dockerfile.v0)

COPY docker/entrypoint.sh /entrypoint.sh # buildkit

2024-09-11 10:56:52 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit

2024-09-11 10:56:52 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA=781d294f49e6f51f6d979545ef9aebdc351b5673

2024-09-11 10:56:52 UTC (buildkit.dockerfile.v0)

ENV COMMIT_SHA=781d294f49e6f51f6d979545ef9aebdc351b5673

2024-09-11 10:56:52 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/bin/bash" "/entrypoint.sh"]

Details
Created

2024-09-11 10:57:13 UTC

Size

709 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2024-09-11T10:55:26.701Z
  • org.opencontainers.image.description
    Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
  • org.opencontainers.image.licenses
    NOASSERTION
  • org.opencontainers.image.revision
    781d294f49e6f51f6d979545ef9aebdc351b5673
  • org.opencontainers.image.source
    https://github.com/langgenius/dify
  • org.opencontainers.image.title
    dify
  • org.opencontainers.image.url
    https://github.com/langgenius/dify
  • org.opencontainers.image.version
    main

Environment
APP_WEB_URL

http://127.0.0.1:3000

COMMIT_SHA

781d294f49e6f51f6d979545ef9aebdc351b5673

CONSOLE_API_URL

http://127.0.0.1:5001

CONSOLE_WEB_URL

http://127.0.0.1:3000

DEPLOY_ENV

PRODUCTION

EDITION

SELF_HOSTED

FLASK_APP

app.py

GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

/app/api/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

POETRY_CACHE_DIR

/tmp/poetry_cache

POETRY_NO_INTERACTION

1

POETRY_REQUESTS_TIMEOUT

15

POETRY_VERSION

1.8.3

POETRY_VIRTUALENVS_CREATE

true

POETRY_VIRTUALENVS_IN_PROJECT

true

PYTHON_GET_PIP_SHA256

bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.15

SERVICE_API_URL

http://127.0.0.1:5001

TZ

UTC

VIRTUAL_ENV

/app/api/.venv


Layers

[#000] sha256:92c3b3500be621c72c7ac6432a9d8f731f145f4a1535361ffd3a304e55f7ccda - 3.92% (27.8 MB)

[#001] sha256:89790d4ca55c29720fc29c489ba4403f3bb6baa1a6d8b5d0e96c3d40521408c0 - 0.45% (3.18 MB)

[#002] sha256:d901b44d68138651279099c41dc3cfb04b41337685e1bf9da5e08869922fac16 - 1.66% (11.8 MB)

[#003] sha256:fd205e54feddee2fa99ab41dacbc667bc24e0f2a65acfa4b0e3f456461142745 - 0.0% (232 Bytes)

[#004] sha256:ebcfd054434c6f361e77393387dd191b20371a8ac81efd606764e3b47c02da8f - 0.43% (3.01 MB)

[#005] sha256:a2be0b7006df1b1e2e823ff3edb26c273f0c6475527f78398de443424841c983 - 0.0% (110 Bytes)

[#006] sha256:559fa61559e12239b56e8c54a7c18a7e0d57d571f37dea79e2041b39816634a8 - 2.8% (19.9 MB)

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

[#008] sha256:cb19dc1c1ea44a331cb5166dcbadabf6377acd27582e5d8a2179fed4f1e75f43 - 8.62% (61 MB)

[#009] sha256:ff82f824e8c256cb4b093f7916d41189fa1a911465d1bd137c7dded2cada71c9 - 75.79% (537 MB)

[#010] sha256:3822f43e2fa45ba5401d882c28ba6b8910ecb670aaa5e4978d0e123d88be00a5 - 5.15% (36.5 MB)

[#011] sha256:c6a5504dff1ecd64aed0e7c1dababec87a1ce9902e418bbcb4dff36e668bc969 - 1.18% (8.33 MB)

[#012] sha256:d02db74caadefcf88846914c5d353919c25c3b63e7d9eb07edbdfd7afb1d660b - 0.0% (718 Bytes)

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


History
2024-09-04 21:39:52 UTC

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

2024-09-04 21:39:53 UTC

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

2024-09-07 03:49:13 UTC (buildkit.dockerfile.v0)

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

2024-09-07 03:49:13 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-09-07 03:49:13 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-07 03:49:13 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-09-07 03:49:13 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.15

2024-09-07 03:49:13 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 --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-09-07 03:49:13 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-09-07 03:49:13 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2024-09-07 03:49:13 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2024-09-07 03:49:13 UTC (buildkit.dockerfile.v0)

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

2024-09-07 03:49:13 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

2024-09-07 03:49:13 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" wheel ; rm -f get-pip.py; pip --version # buildkit

2024-09-07 03:49:13 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-09-10 01:12:14 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2024-09-10 01:12:24 UTC (buildkit.dockerfile.v0)

ENV POETRY_VERSION=1.8.3

2024-09-10 01:12:24 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pip install --no-cache-dir poetry==${POETRY_VERSION} # buildkit

2024-09-10 01:12:24 UTC (buildkit.dockerfile.v0)

ENV POETRY_CACHE_DIR=/tmp/poetry_cache

2024-09-10 01:12:24 UTC (buildkit.dockerfile.v0)

ENV POETRY_NO_INTERACTION=1

2024-09-10 01:12:24 UTC (buildkit.dockerfile.v0)

ENV POETRY_VIRTUALENVS_IN_PROJECT=true

2024-09-10 01:12:24 UTC (buildkit.dockerfile.v0)

ENV POETRY_VIRTUALENVS_CREATE=true

2024-09-10 01:12:24 UTC (buildkit.dockerfile.v0)

ENV POETRY_REQUESTS_TIMEOUT=15

2024-09-10 01:12:24 UTC (buildkit.dockerfile.v0)

ENV FLASK_APP=app.py

2024-09-10 01:12:24 UTC (buildkit.dockerfile.v0)

ENV EDITION=SELF_HOSTED

2024-09-10 01:12:24 UTC (buildkit.dockerfile.v0)

ENV DEPLOY_ENV=PRODUCTION

2024-09-10 01:12:24 UTC (buildkit.dockerfile.v0)

ENV CONSOLE_API_URL=http://127.0.0.1:5001

2024-09-10 01:12:24 UTC (buildkit.dockerfile.v0)

ENV CONSOLE_WEB_URL=http://127.0.0.1:3000

2024-09-10 01:12:24 UTC (buildkit.dockerfile.v0)

ENV SERVICE_API_URL=http://127.0.0.1:5001

2024-09-10 01:12:24 UTC (buildkit.dockerfile.v0)

ENV APP_WEB_URL=http://127.0.0.1:3000

2024-09-10 01:12:24 UTC (buildkit.dockerfile.v0)

EXPOSE map[5001/tcp:{}]

2024-09-10 01:12:24 UTC (buildkit.dockerfile.v0)

ENV TZ=UTC

2024-09-11 10:27:07 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2024-09-10 05:01:44 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl nodejs libgmp-dev libmpfr-dev libmpc-dev && echo "deb http://deb.debian.org/debian testing main" > /etc/apt/sources.list && apt-get update && apt-get install -y --no-install-recommends zlib1g=1:1.3.dfsg+really1.3.1-1 expat=2.6.3-1 libldap-2.5-0=2.5.18+dfsg-3 perl=5.38.2-5 libsqlite3-0=3.46.0-1 && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* # buildkit

2024-09-10 05:01:44 UTC (buildkit.dockerfile.v0)

ENV VIRTUAL_ENV=/app/api/.venv

2024-09-11 10:57:09 UTC (buildkit.dockerfile.v0)

COPY /app/api/.venv /app/api/.venv # buildkit

2024-09-11 10:57:09 UTC (buildkit.dockerfile.v0)

ENV PATH=/app/api/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-09-11 10:57:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c python -c "import nltk; nltk.download('punkt'); nltk.download('averaged_perceptron_tagger')" # buildkit

2024-09-11 10:57:13 UTC (buildkit.dockerfile.v0)

COPY . /app/api/ # buildkit

2024-09-11 10:57:13 UTC (buildkit.dockerfile.v0)

COPY docker/entrypoint.sh /entrypoint.sh # buildkit

2024-09-11 10:57:13 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit

2024-09-11 10:57:13 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA=781d294f49e6f51f6d979545ef9aebdc351b5673

2024-09-11 10:57:13 UTC (buildkit.dockerfile.v0)

ENV COMMIT_SHA=781d294f49e6f51f6d979545ef9aebdc351b5673

2024-09-11 10:57:13 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/bin/bash" "/entrypoint.sh"]

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