Tag
rwthacis/pht-bot:main
Created
2023-05-22 09:46:44 UTC
Architecture
linux / amd64
Content Digest
Pull Command
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.11.3
  • PYTHON_PIP_VERSION=22.3.1
  • PYTHON_SETUPTOOLS_VERSION=65.5.1
  • PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py
  • PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207
Layers
  • 001 sha256:8a49fdb3b6a5ff2bd8ec6a86c05b2922a0f7454579ecc07637e94dfd1d0639b6 3.24 MB
  • 002 sha256:0357922e53aa8671e175f58d46bfd245908047b81e66370f634863785fe0c70e 608 KB
  • 003 sha256:9676b6d4b9645b8d9a67d1ec16c5d2c72ce8406a9cc72fd4fc9e7d5c1b5916cd 11.8 MB
  • 004 sha256:ddbd03ee105940853f5ee34fdb441c4f187fa26476dfa7107560e172deb6c371 240 Bytes
  • 005 sha256:877a053836a345f533aac43cc4b44f348d74b0c32ad3778147d4c4a143b5ce68 2.94 MB
  • 006 sha256:b2db0c96d145074341b6eb9920e42f189b6fd94d5a878307dd541afcb29c1980 133 Bytes
  • 007 sha256:b07dbbe04fee5d17351814ac7a4a29b23a20c2d4a16e63b5b28e971acfe4d07d 81.8 MB
  • 008 sha256:0a5235aab60b57a271d26654880932ad2c7c11088d3c377cffa361cfaa0548a7 279 Bytes
  • 009 sha256:5b31401a61cba4395689444f0964ecb7d2d2089914404fba86c7c6124c942a5a 104 MB
  • 010 sha256:9c1004cf5283be7f32ec3b677539b3c209a6bbf2873ec4bcb633b38180f8ccac 287 KB
History
[2023-05-09 23:11:10 UTC] /bin/sh -c #(nop) ADD file:7625ddfd589fb824ee39f1b1eb387b98f3676420ff52f26eb9d975151e889667 in / [2023-05-09 23:11:10 UTC] /bin/sh -c #(nop) CMD ["/bin/sh"] [2023-05-10 10:10:11 UTC] ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [2023-05-10 10:10:11 UTC] ENV LANG=C.UTF-8 [2023-05-10 10:10:11 UTC] RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit [2023-05-10 10:10:11 UTC] ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D [2023-05-10 10:10:11 UTC] ENV PYTHON_VERSION=3.11.3 [2023-05-10 10:10:11 UTC] RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-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="-DTHREAD_STACK_SIZE=0x100000"; 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 '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit [2023-05-10 10:10:11 UTC] 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 [2023-05-10 10:10:11 UTC] ENV PYTHON_PIP_VERSION=22.3.1 [2023-05-10 10:10:11 UTC] ENV PYTHON_SETUPTOOLS_VERSION=65.5.1 [2023-05-10 10:10:11 UTC] ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py [2023-05-10 10:10:11 UTC] ENV PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207 [2023-05-10 10:10:11 UTC] 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 [2023-05-10 10:10:11 UTC] CMD ["python3"] [2023-05-22 09:31:11 UTC] /bin/sh -c mkdir -p /usr/src/app [2023-05-22 09:31:12 UTC] /bin/sh -c #(nop) WORKDIR /usr/src/app [2023-05-22 09:31:19 UTC] /bin/sh -c apk add build-base jpeg-dev zlib-dev [2023-05-22 09:31:20 UTC] /bin/sh -c #(nop) COPY file:fe32a7b48d21ebc623720c72ea0522b78bf0704636ff27016b4622db97bbba97 in /usr/src/app/ [2023-05-22 09:46:41 UTC] /bin/sh -c pip3 install --no-cache-dir -r requirements.txt [2023-05-22 09:46:42 UTC] /bin/sh -c #(nop) COPY dir:0d98248afd714d35efc468cc6d01672fd03659e399301568e546ac2a47fcc574 in /usr/src/app [2023-05-22 09:46:42 UTC] /bin/sh -c #(nop) EXPOSE 8081 [2023-05-22 09:46:43 UTC] /bin/sh -c #(nop) ENTRYPOINT ["python3"] [2023-05-22 09:46:44 UTC] /bin/sh -c #(nop) CMD ["-m" "swagger_server"]