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.7
-
PYTHON_PIP_VERSION=23.2.1
-
PYTHON_SETUPTOOLS_VERSION=65.5.1
-
PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/049c52c665e8c5fd1751f942316e0a5c777d304f/public/get-pip.py
-
PYTHON_GET_PIP_SHA256=7cfd4bdc4d475ea971f1c0710a5953bcc704d171f83c797b9529d9974502fcc6
-
OPENAI_API_KEY=
Layers
-
001
sha256:1b13d4e1a46e5e969702ec92b7c787c1b6891bff7c21ad378ff6dbc9e751d5d4
47.3 MB
-
002
sha256:1c74526957fc2157e8b0989072dc99b9582b398c12d1dcd40270fd76231bab0c
22.9 MB
-
003
sha256:30d85599795460b2d9d24c6b87c53ec60555b601705cc83bea31632240500980
61.2 MB
-
004
sha256:ad5739181616b815fae7edc6bba689496674acbcf44e48a57fc7cc13a379b3a2
201 MB
-
005
sha256:75e2b45cbee50cea4b3ed4f4fe167ad5994622d77a54adde89adcfeefa3c229a
6.09 MB
-
006
sha256:ee0d5ad99e9044379f15c98ea70219f9fc998211e50afe66fe7ac6d47b91895a
18.9 MB
-
007
sha256:a6382b418b16b96485e06021a27361e528f6bfd698890d4ff16f308e53cb29d1
245 Bytes
-
008
sha256:31c0f7a3374e7ab700f2667ffe97a8ddd8017d1c00de9489bbc05523fd5d4d93
2.97 MB
-
009
sha256:4888bf9eab06502393accfce0eaf119a1970fdd9bc47acca32696cf7863b6498
126 Bytes
-
010
sha256:218a12d834b298b4ce6343c4692456883b404c7527b85a6344f749b0eb83cd46
218 Bytes
-
011
sha256:5fa79fb10dfd6e9b0bd4336077dc82a370dccd6028b328868bc871025ed36be7
141 MB
-
012
sha256:90f864e0f231a2bf4f8704ef89bed1dc4bd293f21d2e2010b95f1568e3d1796a
2.99 MB
History
[2024-01-11 02:37:42 UTC] /bin/sh -c #(nop) ADD file:077a3156bd8271f26498ae6ac3800e68a42b9277581bc81eea31fec1a123dca5 in /
[2024-01-11 02:37:43 UTC] /bin/sh -c #(nop) CMD ["bash"]
[2024-01-11 04:35:03 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-01-17 01:31:34 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-01-17 01:32:32 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/*
[2023-12-20 02:14:05 UTC] ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[2023-12-20 02:14:05 UTC] ENV LANG=C.UTF-8
[2023-12-20 02:14:05 UTC] 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
[2023-12-20 02:14:05 UTC] ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
[2023-12-20 02:14:05 UTC] ENV PYTHON_VERSION=3.11.7
[2023-12-20 02:14:05 UTC] 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
[2023-12-20 02:14:05 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-12-20 02:14:05 UTC] ENV PYTHON_PIP_VERSION=23.2.1
[2023-12-20 02:14:05 UTC] ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
[2023-12-20 02:14:05 UTC] ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/049c52c665e8c5fd1751f942316e0a5c777d304f/public/get-pip.py
[2023-12-20 02:14:05 UTC] ENV PYTHON_GET_PIP_SHA256=7cfd4bdc4d475ea971f1c0710a5953bcc704d171f83c797b9529d9974502fcc6
[2023-12-20 02:14:05 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-12-20 02:14:05 UTC] CMD ["python3"]
[2024-01-26 13:06:14 UTC] WORKDIR /app
[2024-01-26 13:06:14 UTC] ENV OPENAI_API_KEY=
[2024-01-26 13:06:14 UTC] COPY requirements.txt . # buildkit
[2024-01-26 13:08:07 UTC] RUN /bin/sh -c pip install --no-cache-dir -r requirements.txt # buildkit
[2024-01-26 13:08:07 UTC] COPY . . # buildkit
[2024-01-26 13:08:07 UTC] CMD ["python3" "-m" "flask" "--app" "endpoint" "run" "--host=0.0.0.0"]