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=7169605F62C751356D054A26A821E680E5FA6305
-
PYTHON_VERSION=3.12.5
-
PYTHON_PIP_VERSION=24.2
-
PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py
-
PYTHON_GET_PIP_SHA256=bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a
-
MONGO_CONNECTION_STRING=localhost:27017
-
OPENAI_API_KEY=
-
LIMIT=23268
-
QUERY_PER_STUDENT=50
Layers
-
001
sha256:8cd46d290033f265db57fd808ac81c444ec5a5b3f189c3d6d85043b647336913
47.3 MB
-
002
sha256:2e6afa3f266c11e8960349e7866203a9df478a50362bb5488c45fe39d99b2707
22.9 MB
-
003
sha256:2e66a70da0bec13fb3d492fcdef60fd8a5ef0a1a65c4e8a4909e26742852f0f2
61.2 MB
-
004
sha256:1c8ff076d818ad6b8557e03e10c83657cc716ab287c8380054ff91571c8cae81
201 MB
-
005
sha256:d0871d6741a8dcd729852894a8947af3790439a69b905ce34a491a647ffab141
5.88 MB
-
006
sha256:032d5bff19073949e3df9a288ad2b6579a9a3518593ff798687fbb92dcb58574
21.4 MB
-
007
sha256:dd43c92222e84b32ae0861eceea3f06f16e23de239e493a668a730c3cf9fde34
232 Bytes
-
008
sha256:0c867f41564f479e0f00a7ba3bb696b2301a7cb7b424cfbb5178d81eaf7b7d01
1.6 MB
-
009
sha256:26b719bdbf5b31a7db427f6e3a65f53e0928173fda54c244184fdd4073889b21
92 Bytes
-
010
sha256:a3855c50c26dea6692d6ff5a72a7fe3f1038375444689f8e07e0d4a8096c2bea
1.54 KB
-
011
sha256:1f48e82bfae62c42b1dc1be6b1794a31bef599b9f4f0ff161096b9cd237361e1
228 MB
-
012
sha256:4075d1f4517d78a6613c06a295f94483f8529582f2676bc29748bd58e240461c
555 MB
History
[2024-08-29 23:26:33 UTC] /bin/sh -c #(nop) ADD file:1129dcf71f67461f4730620f8148cc9ebc7641966fa683cdf84807219ad288b2 in /
[2024-08-29 23:26:33 UTC] /bin/sh -c #(nop) CMD ["bash"]
[2024-08-29 23:26:33 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-08-29 23:26:33 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-08-29 23:26:33 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/*
[2024-08-29 23:26:33 UTC] ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[2024-08-29 23:26:33 UTC] ENV LANG=C.UTF-8
[2024-08-29 23:26:33 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
[2024-08-29 23:26:33 UTC] ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
[2024-08-29 23:26:33 UTC] ENV PYTHON_VERSION=3.12.5
[2024-08-29 23:26:33 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
[2024-08-29 23:26:33 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
[2024-08-29 23:26:33 UTC] ENV PYTHON_PIP_VERSION=24.2
[2024-08-29 23:26:33 UTC] ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py
[2024-08-29 23:26:33 UTC] ENV PYTHON_GET_PIP_SHA256=bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a
[2024-08-29 23:26:33 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" --no-setuptools --no-wheel ; rm -f get-pip.py; pip --version # buildkit
[2024-08-29 23:26:33 UTC] CMD ["python3"]
[2024-12-18 11:43:28 UTC] /bin/sh -c #(nop) WORKDIR /app
[2024-12-18 11:43:28 UTC] /bin/sh -c #(nop) ENV MONGO_CONNECTION_STRING=localhost:27017
[2024-12-18 11:43:28 UTC] /bin/sh -c #(nop) ENV OPENAI_API_KEY=
[2024-12-18 11:43:28 UTC] /bin/sh -c #(nop) ENV LIMIT=23268
[2024-12-18 11:43:29 UTC] /bin/sh -c #(nop) ENV QUERY_PER_STUDENT=50
[2024-12-18 11:43:29 UTC] /bin/sh -c IFS=',' && for file in $FILES_NEW; do cp $file /app/src/documents; done
[2024-12-18 11:43:29 UTC] /bin/sh -c #(nop) COPY file:e6f0118fb060d996053b715dbc7b57c927657ffef507b1aca7dba28e2b5035ed in .
[2024-12-18 11:44:39 UTC] /bin/sh -c pip install --no-cache-dir -r requirements.txt
[2024-12-18 11:44:45 UTC] /bin/sh -c #(nop) COPY dir:79a2eff61d8d8b22f20382bd82faa2bb08799baec0968308b20d737e0f09db6a in .
[2024-12-18 11:44:46 UTC] /bin/sh -c #(nop) CMD ["sh" "-c" "python create_index.py && python3 -m flask run --host=0.0.0.0"]