Tag
tech4comp/lmschatbot:ba-yin-v9
Created
2023-08-08 13:09:58 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=E3FF2839C048B25C084DEBE9B26995E310250568
  • PYTHON_VERSION=3.9.17
  • PYTHON_PIP_VERSION=23.0.1
  • PYTHON_SETUPTOOLS_VERSION=58.1.0
  • PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py
  • PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207
  • FILES_NEW=
  • MONGO_CONNECTION_STRING=localhost:27017
  • SELECTED_FILES=./src/documents_2023/pdfs
  • SELECTED_EXERCISES=./src/documents_2023/notebooks
  • PINECONE_INDEX_NAME=dbis-lecture-2023
Layers
  • 001 sha256:785ef8b9b236a5f027f33cae77513051704c0538bff455ff5548105c954c3b1c 47.3 MB
  • 002 sha256:5a6dad8f55ae6c733e986316bd08205c8b2c41640bf8d08ff6e9bbcb6884304f 22.9 MB
  • 003 sha256:bd36c7bfe5f4bdffcc0bbb74b0fb38feb35c286ea58b5992617fb38b0c933603 61.1 MB
  • 004 sha256:4d207285f6d296b9806bd00340437406c25207412c52fcfcbf229a5ecff7bf94 201 MB
  • 005 sha256:9402da1694b8dae94a0cb89a2719ce24a909e809b22c31d39edee8e18b3d300b 6.09 MB
  • 006 sha256:6fa59a7ce94bf6afe931a6c66af9413d6ad4be2bad39f107648373c1f9310235 15.1 MB
  • 007 sha256:cc429e3ed9d513cf41bcb2eab70a546fbc31985e672e3de090d9add84fede64c 245 Bytes
  • 008 sha256:eb752ab36a047e17ebc1cf671ff4d12060c28d13219ae781b669c326eceffe3d 2.71 MB
  • 009 sha256:953cdba0ce2250a0585fa3c6da9b24a0e0f4671c5c4ee4326a3c191d21de6a06 125 Bytes
  • 010 sha256:f0f3df6bb21777cb6b783f48d17449ebbecd0ed79ad8c3c38ab23bcbc92cbb48 93 Bytes
  • 011 sha256:00c45d592c8e65c21575f4e19fe540264df2dabb51ba234b5ffcc17a23918d8c 301 Bytes
  • 012 sha256:e1746a7fb5f326527c27e43ac0b9e0f3fb4ed164905d7882a73da070c67f4ae8 145 MB
  • 013 sha256:6cb86689362f07ad2bd3e68ed8400d5cf52c842660ceb70fe5cfc82f968b07c1 40.7 MB
History
[2023-07-27 23:24:29 UTC] /bin/sh -c #(nop) ADD file:cc1376ecb3d9e93e4160573c110da753ffeb2efe2223351f1fbf483d89f1a756 in / [2023-07-27 23:24:30 UTC] /bin/sh -c #(nop) CMD ["bash"] [2023-07-28 03:00:41 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/* [2023-07-28 03:01:00 UTC] /bin/sh -c apt-get update && apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/* [2023-07-28 03:02:03 UTC] /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 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 $( if apt-cache show 'default-libmysqlclient-dev' 2>/dev/null | grep -q '^Version:'; then echo 'default-libmysqlclient-dev'; else echo 'libmysqlclient-dev'; fi ) ; rm -rf /var/lib/apt/lists/* [2023-06-13 17:45:16 UTC] ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [2023-06-13 17:45:16 UTC] ENV LANG=C.UTF-8 [2023-06-13 17:45:16 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-06-13 17:45:16 UTC] ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568 [2023-06-13 17:45:16 UTC] ENV PYTHON_VERSION=3.9.17 [2023-06-13 17:45:16 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-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-06-13 17:45:16 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-06-13 17:45:16 UTC] ENV PYTHON_PIP_VERSION=23.0.1 [2023-06-13 17:45:16 UTC] ENV PYTHON_SETUPTOOLS_VERSION=58.1.0 [2023-06-13 17:45:16 UTC] ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py [2023-06-13 17:45:16 UTC] ENV PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207 [2023-06-13 17:45:16 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-06-13 17:45:16 UTC] CMD ["python3"] [2023-07-31 21:54:46 UTC] WORKDIR /app [2023-07-31 21:54:46 UTC] ENV FILES_NEW= [2023-07-31 21:54:46 UTC] ENV MONGO_CONNECTION_STRING=localhost:27017 [2023-07-31 21:54:46 UTC] ENV SELECTED_FILES=./src/documents_2023/pdfs [2023-07-31 21:54:46 UTC] ENV SELECTED_EXERCISES=./src/documents_2023/notebooks [2023-07-31 21:54:46 UTC] ENV PINECONE_INDEX_NAME=dbis-lecture-2023 [2023-07-31 21:54:46 UTC] RUN /bin/sh -c IFS=',' && for file in $FILES_NEW; do cp $file /app/src/documents_new; done # buildkit [2023-07-31 21:54:46 UTC] COPY requirements.txt . # buildkit [2023-07-31 21:57:29 UTC] RUN /bin/sh -c pip install --no-cache-dir -r requirements.txt # buildkit [2023-08-08 13:09:58 UTC] COPY . . # buildkit [2023-08-08 13:09:58 UTC] CMD ["python3" "-m" "flask" "run" "--host=0.0.0.0"]