Namespace
mtphotos
Image / Tag
mt-photos-deepface:noavx-latest
Content Digest
sha256:e6ad08ae3419cf71879483950d41ebf187aac7d5743015da7d56696bba65abc9
Details
Created

2024-05-31 10:27:55 UTC

Size

951 MB

Content Digest
Environment
API_AUTH_KEY

mt_photos_ai_extra

DEEPFACE_HOME

/models

GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

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

57.5.0

PYTHON_VERSION

3.8.19


Layers

[#000] sha256:ac323bdaa10f869bd9e7adecd8f5326e44acc4c59168868108b1cdf3891089cc - 5.52% (52.5 MB)

[#001] sha256:84811b2a563b9003abbd1c06f6e45a857315b931855030bdd0443d13d950a996 - 1.58% (15 MB)

[#002] sha256:b3ff24b88ad3798f817849ad391d809ece121dc9b7f82f24bb68eed84561f048 - 5.47% (52.1 MB)

[#003] sha256:c6f58f24df78e3aabf785017c3197c2a09fd606e7f19a830a1cfde41f681f39e - 19.75% (188 MB)

[#004] sha256:37ff514fac8bffee2188f723994f1dbfb72cfa5263a8421302af13af154b2520 - 0.63% (6 MB)

[#005] sha256:beb6656d44ecbf01fa23141a784d2c47a1de42649b3d7553f0928d47d91afdbb - 1.55% (14.8 MB)

[#006] sha256:fa22923feb48fbf3911534788303915f114d9d36a368dd8bc09872d0d2663ed5 - 0.0% (243 Bytes)

[#007] sha256:115744c6a8ac5e4d3226de40bd9c775069666906165a0341d682204afe1e82f7 - 0.29% (2.72 MB)

[#008] sha256:b2c74e56887e034a55f72f89f33db0ab8572b69a20242d8b536839468477552a - 0.0% (405 Bytes)

[#009] sha256:d4f3f155f2d1a202e1c68611f58918f0e00ef3d706296bc45b72ee5bf6810f9d - 5.98% (56.9 MB)

[#010] sha256:9838d05eb09e0e4a7fdfabe9e292859a1c60af442cb8f85af15165053c49965e - 0.0% (126 Bytes)

[#011] sha256:5b39ac2b8ca60958a5a12d7e6dc7a04a23a1b445d9a740e47149dde8ecd67501 - 10.99% (105 MB)

[#012] sha256:8df80a3a245b3e54c0f2387fd9fd368aa5a1dc27fa6538841d7823881e1f641d - 8.75% (83.3 MB)

[#013] sha256:abf9febe734c9943d7105fc2ecc2858a1e5dd0b87342e0fcd5037194987d8531 - 0.0% (307 Bytes)

[#014] sha256:576b0180af3243abe490be64249210bbc6e29bf31a3ba9daec74a0feb239d26d - 39.49% (376 MB)

[#015] sha256:97977782bd7a3c9d779685e72dcc12df64f149064ce891846d3ef4790b2fc8d4 - 0.0% (2.25 KB)

[#016] sha256:cb5564b7ece80a8ddda4ec392cbd74e70b1f9a990a47844c23a7d71a024b8f81 - 0.0% (2.26 KB)


History
2024-04-10 01:50:59 UTC

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

2024-04-10 01:50:59 UTC

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

2024-04-10 05:26:29 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase wget ; rm -rf /var/lib/apt/lists/*

2024-04-10 05:26:46 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-04-10 05:27:39 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=E3FF2839C048B25C084DEBE9B26995E310250568

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

ENV PYTHON_VERSION=3.8.19

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-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' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -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=23.0.1

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

ENV PYTHON_SETUPTOOLS_VERSION=57.5.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; 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-04-23 10:50:49 UTC (buildkit.dockerfile.v0)

USER root

2024-04-23 10:50:49 UTC (buildkit.dockerfile.v0)

COPY ./sources-bullseye.list /etc/apt/sources.list # buildkit

2024-04-23 10:51:05 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-04-23 10:51:06 UTC (buildkit.dockerfile.v0)

WORKDIR /app

2024-04-23 10:51:07 UTC (buildkit.dockerfile.v0)

COPY ./weights/retinaface.h5 /models/.deepface/weights/retinaface.h5 # buildkit

2024-04-23 10:51:08 UTC (buildkit.dockerfile.v0)

COPY ./weights/facenet512_weights.h5 /models/.deepface/weights/facenet512_weights.h5 # buildkit

2024-04-23 11:35:39 UTC (buildkit.dockerfile.v0)

COPY noavx.requirements.txt ./requirements.txt # buildkit

2024-04-23 11:35:39 UTC (buildkit.dockerfile.v0)

ARG TENSORFLOW_WHL=tensorflow-2.9.3-cp38-cp38-linux_x86_64.whl

2024-04-23 11:37:33 UTC (buildkit.dockerfile.v0)

RUN |1 TENSORFLOW_WHL=tensorflow-2.9.3-cp38-cp38-linux_x86_64.whl /bin/sh -c wget http://192.168.31.191:5200/$TENSORFLOW_WHL && pip3 install --no-cache-dir $TENSORFLOW_WHL --index-url=https://pypi.tuna.tsinghua.edu.cn/simple/ && rm $TENSORFLOW_WHL && pip3 install --no-cache-dir -r requirements.txt --index-url=https://pypi.tuna.tsinghua.edu.cn/simple/ && pip3 install --no-cache-dir --no-dependencies deepface==0.0.89 --index-url=https://pypi.tuna.tsinghua.edu.cn/simple/ # buildkit

2024-04-24 06:05:15 UTC (buildkit.dockerfile.v0)

COPY server.py . # buildkit

2024-04-24 06:05:15 UTC (buildkit.dockerfile.v0)

ENV DEEPFACE_HOME=/models

2024-04-24 06:05:15 UTC (buildkit.dockerfile.v0)

ENV API_AUTH_KEY=mt_photos_ai_extra

2024-04-24 06:05:15 UTC (buildkit.dockerfile.v0)

EXPOSE map[8066/tcp:{}]

2024-04-24 06:05:15 UTC (buildkit.dockerfile.v0)

CMD ["python3" "server.py"]

2024-05-31 10:27:55 UTC (buildkit.dockerfile.v0)

COPY server.py . # buildkit

2024-05-31 10:27:55 UTC (buildkit.dockerfile.v0)

ENV DEEPFACE_HOME=/models

2024-05-31 10:27:55 UTC (buildkit.dockerfile.v0)

ENV API_AUTH_KEY=mt_photos_ai_extra

2024-05-31 10:27:55 UTC (buildkit.dockerfile.v0)

EXPOSE map[8066/tcp:{}]

2024-05-31 10:27:55 UTC (buildkit.dockerfile.v0)

CMD ["python3" "server.py"]

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