2024-11-29 03:05:39 UTC
1010 MB
mt_photos_ai_extra
GPG_KEYA035C8C19219BA821ECEA86B64E628F8D684696D
LANGC.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_GET_PIP_SHA256dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py
PYTHON_PIP_VERSION24.0
PYTHON_SETUPTOOLS_VERSION65.5.1
PYTHON_VERSION3.11.8
[#000] sha256:6ee0baa58a3d368515336c1b5c1cade29c975e1b49a832f19e22f4c46f4a23a7 - 4.66% (47.3 MB)
[#001] sha256:992a857ef57584af4efb4c62d68456f1e8513c95d6248fd796a9ea7f45da4d79 - 2.22% (22.5 MB)
[#002] sha256:3861a6536e4e911503e7d2fc8f93228491ba45d1e5def0d2f3723e32e03d7466 - 6.02% (61 MB)
[#003] sha256:e5e6faea05ead1ac9cd3244827816e2385b0d62299f7937a4574fc5a9651624c - 19.05% (193 MB)
[#004] sha256:91c9495e7b5aa8d2de58884c4284dc52584e0ce5041c2e394eb95f327117228b - 0.61% (6.17 MB)
[#005] sha256:61a96f6fa989565d7ce220343f21f833945f731b13af5dd427e8ccd1f1a10839 - 1.83% (18.6 MB)
[#006] sha256:8c5cc494e9358ac849eb419dac88e42eda1c45d5a57734976f597e5cc500f5ac - 0.0% (244 Bytes)
[#007] sha256:dd3c4e271c02554679b80190e257f18efc2695baaf8681bf3f2f9125b144e5e5 - 0.29% (2.99 MB)
[#008] sha256:190d4c41ff43ab0306237147ad4ade976d3c18d57283af87129e413d31ed7df9 - 0.0% (286 Bytes)
[#009] sha256:b992ba80351b055dd2b831dc8d6743bbc0fdcec8b5ebd7b793ef70ef4df0da5f - 6.06% (61.5 MB)
[#010] sha256:779490a86078715876c901e64934dd5b6c1d6645626b869a9c3e8d09eafcfab0 - 0.0% (93 Bytes)
[#011] sha256:1034f71f2f39c6b5dc03267a5dec6fbdbd371b203830782b75807a06aff11d35 - 0.0% (266 Bytes)
[#012] sha256:8ef5be186fe22a9dadb0e41696b282e755345f83d813f55a8da7c51d2d28e2e7 - 16.71% (169 MB)
[#013] sha256:8687aefb738c6e991095343e6b2160b6704b3c06877e8e48518e1cee0a872145 - 19.55% (198 MB)
[#014] sha256:9df5d371917fb6022b8992bc808f790eb82dbc932cb7864be66fba61d83bd4bc - 22.99% (233 MB)
[#015] sha256:6f00afb15ed8eb7e40e9332ad4f537111cc23cb81029faaf1749ea978cbcdafc - 0.0% (4.35 KB)
[#016] sha256:b427923447bb45b74d260713d473cb44ab00637cb2a70bde5a9a7546983f0611 - 0.01% (54.7 KB)
[#017] sha256:0eae24859dc659cc837bbda95014196423cefb54f57dfe7b8bbbde33eb39b7a2 - 0.0% (1.48 KB)
[#018] sha256:b3cad163de5a466510f9430fc1a6251da4443fdf7ebf5ad612a7c21f591e0a4a - 0.0% (2.53 KB)
/bin/sh -c #(nop) ADD file:9b51ed214f9332acf3126d841440c24eed0beac4062487fb360b288f628454dc in /
2024-03-12 00:45:27 UTC/bin/sh -c #(nop) CMD ["bash"]
2024-03-12 01:24:40 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/*
2024-03-12 01:24:55 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/*
2024-03-12 01:25:50 UTC/bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 default-libmysqlclient-dev dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev ; rm -rf /var/lib/apt/lists/*
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 libbluetooth-dev tk-dev uuid-dev ; rm -rf /var/lib/apt/lists/* # buildkit
2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.11.8
2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; 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)"; 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; bin="$(readlink -ve /usr/local/bin/python3)"; dir="$(dirname "$bin")"; mkdir -p "/usr/share/gdb/auto-load/$dir"; cp -vL Tools/gdb/libpython.py "/usr/share/gdb/auto-load/$bin-gdb.py"; 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; 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=24.0
2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
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; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; 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-11-28 09:49:04 UTC (buildkit.dockerfile.v0)USER root
2024-11-28 09:49:04 UTC (buildkit.dockerfile.v0)COPY ./sources.list /etc/apt/sources.list # buildkit
2024-11-28 09:50:40 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt update && apt install -y libgl1-mesa-glx libglib2.0-0 libsm6 libxrender1 libfontconfig1 && rm -rf /var/lib/apt/lists/* /tmp/* /var/log/* # buildkit
2024-11-28 09:50:40 UTC (buildkit.dockerfile.v0)WORKDIR /app
2024-11-29 03:02:37 UTC (buildkit.dockerfile.v0)COPY requirements.txt . # buildkit
2024-11-29 03:05:34 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c pip3 install --no-cache-dir -r requirements.txt --index-url=https://pypi.tuna.tsinghua.edu.cn/simple/ # buildkit
2024-11-29 03:05:36 UTC (buildkit.dockerfile.v0)COPY ./utils/vit-b-16.img.fp32.onnx ./utils/vit-b-16.img.fp32.onnx # buildkit
2024-11-29 03:05:38 UTC (buildkit.dockerfile.v0)COPY ./utils/vit-b-16.txt.fp32.onnx ./utils/vit-b-16.txt.fp32.onnx # buildkit
2024-11-29 03:05:38 UTC (buildkit.dockerfile.v0)COPY ./bert_tokenizer.py ./bert_tokenizer.py # buildkit
2024-11-29 03:05:38 UTC (buildkit.dockerfile.v0)COPY ./vocab.txt ./vocab.txt # buildkit
2024-11-29 03:05:38 UTC (buildkit.dockerfile.v0)COPY ./clip.py ./clip.py # buildkit
2024-11-29 03:05:39 UTC (buildkit.dockerfile.v0)COPY ./server.py ./server.py # buildkit
2024-11-29 03:05:39 UTC (buildkit.dockerfile.v0)ENV API_AUTH_KEY=mt_photos_ai_extra
2024-11-29 03:05:39 UTC (buildkit.dockerfile.v0)EXPOSE map[8060/tcp:{}]
2024-11-29 03:05:39 UTC (buildkit.dockerfile.v0)CMD ["python3" "server.py"]
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.