Tag
htwk/onyx-task-service:main
Created
2022-05-09 12:16:38 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:24acb9ed54ac2f88424379633f9becacc7f13883f06be6a05554ae9846c42eca 240 Bytes
  • 008 sha256:4335ffd280e7b48f5bf9889b01327e6ef3cf7e0e093dd64d5420114b6a4adfb5 33.4 MB
  • 009 sha256:52907a87cf5ffcc9c880c87f24fed3de582524e0fdaadbef71d62bea6a45bbee 2.19 KB
  • 010 sha256:2c0f9f06b326fffd4594fb3992715a57ca69a2f49bf696b7591f1181e402ef79 5.04 KB
  • 011 sha256:00b8d00fa78fe728f492d64a9e6036f374da6d185fe9d27af96bdbe152829431 21.1 KB
  • 012 sha256:f64fed14e54858d103f87d5435dabafd6f5cf1ce8f9d548c72bab6aa7c46e99f 1.02 KB
  • 013 sha256:0e7de6c65aadeb1d85677a492a360d15cc8d4a9a8e83445f523be7b89e358fca 1013 Bytes
  • 014 sha256:0c8f494a5449a03c211b42942420c8b1da8dd4b2396a12e605010f262683ff31 272 Bytes
  • 015 sha256:3c8c552ce09468f9c0eda92112cfb01e67bfdb3391699374ee967686bc35b54d 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 12:16:25 UTC] COPY requirements.txt requirements.txt # buildkit [2022-05-09 12:16:38 UTC] RUN /bin/sh -c apt-get update && apt-get upgrade -y && apt-get install -y curl && pip3 install --upgrade pip && pip3 install -r requirements.txt # buildkit [2022-05-09 12:16:38 UTC] COPY auth/ /app/auth # buildkit [2022-05-09 12:16:38 UTC] COPY dbHandler/ /app/dbHandler # buildkit [2022-05-09 12:16:38 UTC] COPY static/ /app/static # buildkit [2022-05-09 12:16:38 UTC] COPY templates/ /app/templates # buildkit [2022-05-09 12:16:38 UTC] COPY app.py /app/app.py # buildkit [2022-05-09 12:16:38 UTC] COPY mongodb_properties.py /app/mongodb_properties.py # buildkit [2022-05-09 12:16:38 UTC] COPY oidc_properties.py /app/oidc_properties.py # buildkit [2022-05-09 12:16:38 UTC] EXPOSE map[5000/tcp:{}] [2022-05-09 12:16:38 UTC] ENTRYPOINT ["python3" "-m" "flask" "run" "--host=0.0.0.0"]