Namespace
zhayujie
Image / Tag
chatgpt-on-wechat:1.5.7.1
Content Digest
sha256:a0aca397dd98cfe220947484fa0b75c5f73d0ee72822ce38c775e8100ed66853
Details
Created

2024-02-19 06:04:58 UTC

Size

456 MB

Content Digest
Labels
  • maintainer
    foo@bar.com
  • org.opencontainers.image.created
    2024-02-19T06:03:48.406Z
  • org.opencontainers.image.description
    基于大模型搭建的微信聊天机器人,同时支持微信、企业微信、公众号、飞书、钉钉接入,可选择GPT3.5/GPT4.0/Claude/文心一言/讯飞星火/通义千问/Gemini/GLM-4/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。
  • org.opencontainers.image.licenses
    MIT
  • org.opencontainers.image.revision
    74ebbdd7617b08bfc4afb4c095b0c38356387536
  • org.opencontainers.image.source
    https://github.com/zhayujie/chatgpt-on-wechat
  • org.opencontainers.image.title
    chatgpt-on-wechat
  • org.opencontainers.image.url
    https://github.com/zhayujie/chatgpt-on-wechat
  • org.opencontainers.image.version
    1.5.7.1

Environment
BUILD_PREFIX

/app

GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

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

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

65.5.1

PYTHON_VERSION

3.10.13


Layers

[#000] sha256:5d0aeceef7eeb53c3f853fb229ea7fd13a5a56f4ba371ca48f0477493046b702 - 6.57% (30 MB)

[#001] sha256:de0ce72dbd5289c0e02b1d98f7747653636ee970942af7482d50315cca6df0de - 0.23% (1.03 MB)

[#002] sha256:e808301c35ad3eefc5e1007f9c3fd57e694189248cf9a809d448327b2ce8bd5e - 2.41% (11 MB)

[#003] sha256:1049782169769c718a5a86d272d911d768184af7c0d314a225d924b0206157d2 - 0.0% (244 Bytes)

[#004] sha256:0b15937fe6c942a848c2728b6aac116bc45d4e30dd962e1e326ef390b5fe19e5 - 0.71% (3.22 MB)

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

[#006] sha256:14ea4bb94fa204e6449334a384bad3375c29e51de5988d354a1b0bdbb61ce786 - 0.54% (2.47 MB)

[#007] sha256:e7fd9825bc7716f7d3ceb7af66045c53b425019789eb85a472a7f5ada5d00fd1 - 60.48% (276 MB)

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

[#009] sha256:cc49e74d7f8f72705e26da95b9081b325912d327e77b0b3318b849b3fef10525 - 0.0% (1019 Bytes)

[#010] sha256:ea48dd8f29de8e397125a634139204492880069a0643d8428400c658315b1f82 - 29.06% (132 MB)


History
2024-02-13 00:37:43 UTC

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

2024-02-13 00:37:44 UTC

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

2024-02-03 10:49:13 UTC (buildkit.dockerfile.v0)

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

2024-02-03 10:49:13 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

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

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-02-03 10:49:13 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.13

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

ENV PYTHON_PIP_VERSION=23.0.1

2024-02-03 10:49:13 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2024-02-03 10:49:13 UTC (buildkit.dockerfile.v0)

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

2024-02-03 10:49:13 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9

2024-02-03 10: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" ; rm -f get-pip.py; pip --version # buildkit

2024-02-03 10:49:13 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-02-19 06:03:52 UTC (buildkit.dockerfile.v0)

LABEL maintainer=foo@bar.com

2024-02-19 06:03:52 UTC (buildkit.dockerfile.v0)

ARG TZ=Asia/Shanghai

2024-02-19 06:03:52 UTC (buildkit.dockerfile.v0)

ARG CHATGPT_ON_WECHAT_VER

2024-02-19 06:03:52 UTC (buildkit.dockerfile.v0)

RUN |2 TZ=Asia/Shanghai CHATGPT_ON_WECHAT_VER= /bin/sh -c echo /etc/apt/sources.list # buildkit

2024-02-19 06:03:52 UTC (buildkit.dockerfile.v0)

ENV BUILD_PREFIX=/app

2024-02-19 06:03:52 UTC (buildkit.dockerfile.v0)

ADD . /app # buildkit

2024-02-19 06:04:48 UTC (buildkit.dockerfile.v0)

RUN |2 TZ=Asia/Shanghai CHATGPT_ON_WECHAT_VER= /bin/sh -c apt-get update &&apt-get install -y --no-install-recommends bash ffmpeg espeak libavcodec-extra && cd ${BUILD_PREFIX} && cp config-template.json config.json && /usr/local/bin/python -m pip install --no-cache --upgrade pip && pip install --no-cache -r requirements.txt && pip install --no-cache -r requirements-optional.txt && pip install azure-cognitiveservices-speech # buildkit

2024-02-19 06:04:48 UTC (buildkit.dockerfile.v0)

WORKDIR /app

2024-02-19 06:04:48 UTC (buildkit.dockerfile.v0)

ADD docker/entrypoint.sh /entrypoint.sh # buildkit

2024-02-19 06:04:58 UTC (buildkit.dockerfile.v0)

RUN |2 TZ=Asia/Shanghai CHATGPT_ON_WECHAT_VER= /bin/sh -c chmod +x /entrypoint.sh && mkdir -p /home/noroot && groupadd -r noroot && useradd -r -g noroot -s /bin/bash -d /home/noroot noroot && chown -R noroot:noroot /home/noroot ${BUILD_PREFIX} /usr/local/lib # buildkit

2024-02-19 06:04:58 UTC (buildkit.dockerfile.v0)

USER noroot

2024-02-19 06:04:58 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/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