Tag
htwk/sketch-analysis-service:main
Created
2022-05-09 11:36:56 UTC
Architecture
linux / amd64
Content Digest
Pull Command
Labels
  • maintainer
    Norman Schimmrich
ENV
  • PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  • LANG=C.UTF-8
  • GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
  • PYTHON_VERSION=3.10.4
  • PYTHON_PIP_VERSION=22.0.4
  • PYTHON_SETUPTOOLS_VERSION=58.1.0
  • PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/38e54e5de07c66e875c11a1ebbdb938854625dd8/public/get-pip.py
  • PYTHON_GET_PIP_SHA256=e235c437e5c7d7524fbce3880ca39b917a73dc565e0c813465b7a7a329bb279a
Layers
  • 001 sha256:1fe172e4850f03bb45d41a20174112bc119fbfec42a650edbbd8491aee32e3c3 29.9 MB
  • 002 sha256:caf521ccaac6aa5fc49c9453dc8380ad9bbcb2f59f5a9f9332e8f4efea46ecf4 1.03 MB
  • 003 sha256:b3278b635dc9f504f3994a9d801694f6a2ec647c18a53cacab020c30136b78fc 11.3 MB
  • 004 sha256:4298f8ff43f9c832fc4cd0dc73f74b59923faff123b0d9c73d7a9216607e4569 233 Bytes
  • 005 sha256:56eb47d0c00abe14d9f7f039471ec8382a6f72ba290ba1f032e3dae61e7c1444 3.02 MB
  • 006 sha256:57a80386961e7d42b2dcaf153203650e019a7f3709a95e041dd0ac77c2bf8557 126 Bytes
  • 007 sha256:7efa50ed61e3cc4bc931aafcc7dab4fd11b7ae47c5fedf01a4da7738b2529827 258 Bytes
  • 008 sha256:42cf72d49ede47dace02a94d78183451361bf041ac4de0cd4dcb7ab4a9d1665b 718 MB
  • 009 sha256:5602399d752147b3e6e80ce9da611464d7450c839872bf4d64dec570ad02a30f 2.14 KB
  • 010 sha256:89d5cdca3a8ce24f0165ad86a1204f75597183af8130dffa38921a7a56c6407f 1.76 KB
  • 011 sha256:d454653e5c4e47d5b308ae4e3b8d02730ee2da858c4b3218a8ad055a3f5d7a4d 22 KB
  • 012 sha256:b28184cec87c463753f94ac611ea6757764f56325e4f01d70e8ff1a476f307cc 1.01 KB
  • 013 sha256:ab9f1c229306babe7ebefb70b38e3f264c49a3b82115b10d80373d2836c676c8 1.18 KB
  • 014 sha256:d6399da40cd9c082d032145adaac55762ce19fe9d7f267ca1bd746dc2483cf4f 1.1 KB
  • 015 sha256:0e78ef9170afdda2a30581a69639148bb77a007a1dc7b04b82599b652201e880 298 Bytes
History
[2022-04-20 04:43:27 UTC] /bin/sh -c #(nop) ADD file:8b1e79f91081eb527b455431af58e823d8b84d9d0c8e5c47cb7bda7507954ae4 in / [2022-04-20 04:43:27 UTC] /bin/sh -c #(nop) CMD ["bash"] [2022-04-20 04:54:28 UTC] /bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [2022-04-20 04:54:29 UTC] /bin/sh -c #(nop) ENV LANG=C.UTF-8 [2022-04-20 04:54:33 UTC] /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/* [2022-04-20 04:54:33 UTC] /bin/sh -c #(nop) ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D [2022-04-20 05:22:38 UTC] /bin/sh -c #(nop) ENV PYTHON_VERSION=3.10.4 [2022-04-20 05:33:10 UTC] /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg dirmngr libbluetooth-dev libbz2-dev libc6-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; command -v gpgconf > /dev/null && 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)"; make -j "$nproc" LDFLAGS="-Wl,--strip-all" ; 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 '/=>/ { print $(NF-1) }' | 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 [2022-04-20 05:33:11 UTC] /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 [2022-04-20 05:33:11 UTC] /bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=22.0.4 [2022-04-20 05:33:11 UTC] /bin/sh -c #(nop) ENV PYTHON_SETUPTOOLS_VERSION=58.1.0 [2022-04-20 05:33:11 UTC] /bin/sh -c #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/38e54e5de07c66e875c11a1ebbdb938854625dd8/public/get-pip.py [2022-04-20 05:33:11 UTC] /bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=e235c437e5c7d7524fbce3880ca39b917a73dc565e0c813465b7a7a329bb279a [2022-04-20 05:33:22 UTC] /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 [2022-04-20 05:33:22 UTC] /bin/sh -c #(nop) CMD ["python3"] [2022-05-09 11:35:41 UTC] LABEL maintainer=Norman Schimmrich [2022-05-09 11:35:41 UTC] WORKDIR /app [2022-05-09 11:35:41 UTC] COPY requirements.txt requirements.txt # buildkit [2022-05-09 11:36:55 UTC] RUN /bin/sh -c apt-get update && apt-get upgrade -y && apt-get install -y curl && apt-get install -y libcairo2-dev && pip3 install --upgrade pip && pip3 install -r requirements.txt # buildkit [2022-05-09 11:36:55 UTC] COPY auth/ /app/auth # buildkit [2022-05-09 11:36:55 UTC] COPY clustering/ /app/clustering # buildkit [2022-05-09 11:36:55 UTC] COPY static/ /app/static # buildkit [2022-05-09 11:36:55 UTC] COPY templates/ /app/templates # buildkit [2022-05-09 11:36:56 UTC] COPY utils/ /app/utils # buildkit [2022-05-09 11:36:56 UTC] COPY app.py /app/app.py # buildkit [2022-05-09 11:36:56 UTC] COPY oidc_properties.py /app/oidc_properties.py # buildkit [2022-05-09 11:36:56 UTC] EXPOSE map[5000/tcp:{}] [2022-05-09 11:36:56 UTC] ENTRYPOINT ["python3" "-m" "flask" "run" "--host=0.0.0.0"]