|
|
@@ -1,138 +0,0 @@ |
|
|
|
[ |
|
|
|
{ |
|
|
|
"architecture": "amd64", |
|
|
|
"features": null, |
|
|
|
"variant": null, |
|
|
|
"digest": "sha256:b9659a67bf5b731da4af935a310ea2a156c3f12b2c0fa384c50cf7b408e9ad66", |
|
|
|
"layers": [ |
|
|
|
{ |
|
|
|
"digest": "sha256:b5a0d5c14ba9ece1eecd5137c468d9a123372b0af2ed2c8c4446137730c90e5b", |
|
|
|
"size": 31417873, |
|
|
|
"instruction": "ADD file:bb44d67b03db8efaeb0c4171474f441d14ff35f328f13add32b289fca062fa2f in / " |
|
|
|
}, |
|
|
|
{ |
|
|
|
"size": 0, |
|
|
|
"instruction": " CMD [\"bash\"]" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"size": 0, |
|
|
|
"instruction": "ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"size": 0, |
|
|
|
"instruction": "ENV LANG=C.UTF-8" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"digest": "sha256:89f76bd978528a9900d03ac89f5356f13ba8e48203e113c435f6d4c4772830db", |
|
|
|
"size": 1078394, |
|
|
|
"instruction": "RUN /bin/sh -c set -eux; \tapt-get update; \tapt-get install -y --no-install-recommends \t\tca-certificates \t\tnetbase \t\ttzdata \t; \trm -rf /var/lib/apt/lists/* # buildkit" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"size": 0, |
|
|
|
"instruction": "ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"size": 0, |
|
|
|
"instruction": "ENV PYTHON_VERSION=3.10.13" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"digest": "sha256:80639c33deb9d9999a0374af0e6131514aceee736529575677757af3194ba1df", |
|
|
|
"size": 11541258, |
|
|
|
"instruction": "RUN /bin/sh -c set -eux; \t\tsavedAptMark=\"$(apt-mark showmanual)\"; \tapt-get update; \tapt-get install -y --no-install-recommends \t\tdpkg-dev \t\tgcc \t\tgnupg \t\tlibbluetooth-dev \t\tlibbz2-dev \t\tlibc6-dev \t\tlibdb-dev \t\tlibexpat1-dev \t\tlibffi-dev \t\tlibgdbm-dev \t\tliblzma-dev \t\tlibncursesw5-dev \t\tlibreadline-dev \t\tlibsqlite3-dev \t\tlibssl-dev \t\tmake \t\ttk-dev \t\tuuid-dev \t\twget \t\txz-utils \t\tzlib1g-dev \t; \t\twget -O python.tar.xz \"https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz\"; \twget -O python.tar.xz.asc \"https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc\"; \tGNUPGHOME=\"$(mktemp -d)\"; export GNUPGHOME; \tgpg --batch --keyserver hkps://keys.openpgp.org --recv-keys \"$GPG_KEY\"; \tgpg --batch --verify python.tar.xz.asc python.tar.xz; \tgpgconf --kill all; \trm -rf \"$GNUPGHOME\" python.tar.xz.asc; \tmkdir -p /usr/src/python; \ttar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \trm python.tar.xz; \t\tcd /usr/src/python; \tgnuArch=\"$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)\"; \t./configure \t\t--build=\"$gnuArch\" \t\t--enable-loadable-sqlite-extensions \t\t--enable-optimizations \t\t--enable-option-checking=fatal \t\t--enable-shared \t\t--with-lto \t\t--with-system-expat \t\t--without-ensurepip \t; \tnproc=\"$(nproc)\"; \tEXTRA_CFLAGS=\"$(dpkg-buildflags --get CFLAGS)\"; \tLDFLAGS=\"$(dpkg-buildflags --get LDFLAGS)\"; \tLDFLAGS=\"${LDFLAGS:--Wl},--strip-all\"; \tmake -j \"$nproc\" \t\t\"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}\" \t\t\"LDFLAGS=${LDFLAGS:-}\" \t\t\"PROFILE_TASK=${PROFILE_TASK:-}\" \t; \trm python; \tmake -j \"$nproc\" \t\t\"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}\" \t\t\"LDFLAGS=${LDFLAGS:--Wl},-rpath='\\$\\$ORIGIN/../lib'\" \t\t\"PROFILE_TASK=${PROFILE_TASK:-}\" \t\tpython \t; \tmake install; \t\tcd /; \trm -rf /usr/src/python; \t\tfind /usr/local -depth \t\t\\( \t\t\t\\( -type d -a \\( -name test -o -name tests -o -name idle_test \\) \\) \t\t\t-o \\( -type f -a \\( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \\) \\) \t\t\\) -exec rm -rf '{}' + \t; \t\tldconfig; \t\tapt-mark auto '.*' > /dev/null; \tapt-mark manual $savedAptMark; \tfind /usr/local -type f -executable -not \\( -name '*tkinter*' \\) -exec ldd '{}' ';' \t\t| awk '/=>/ { so = $(NF-1); if (index(so, \"/usr/local/\") == 1) { next }; gsub(\"^/(usr/)?\", \"\", so); printf \"*%s\\n\", so }' \t\t| sort -u \t\t| xargs -r dpkg-query --search \t\t| cut -d: -f1 \t\t| sort -u \t\t| xargs -r apt-mark manual \t; \tapt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \trm -rf /var/lib/apt/lists/*; \t\tpython3 --version # buildkit" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"digest": "sha256:5d0306e96fe9d45e01fd9cdb8b6f0c8ba94a7bfb7e50c7dc164eea0f2ea1bb23", |
|
|
|
"size": 243, |
|
|
|
"instruction": "RUN /bin/sh -c set -eux; \tfor src in idle3 pydoc3 python3 python3-config; do \t\tdst=\"$(echo \"$src\" | tr -d 3)\"; \t\t[ -s \"/usr/local/bin/$src\" ]; \t\t[ ! -e \"/usr/local/bin/$dst\" ]; \t\tln -svT \"$src\" \"/usr/local/bin/$dst\"; \tdone # buildkit" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"size": 0, |
|
|
|
"instruction": "ENV PYTHON_PIP_VERSION=23.0.1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"size": 0, |
|
|
|
"instruction": "ENV PYTHON_SETUPTOOLS_VERSION=65.5.1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"size": 0, |
|
|
|
"instruction": "ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/4cfa4081d27285bda1220a62a5ebf5b4bd749cdb/public/get-pip.py" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"size": 0, |
|
|
|
"instruction": "ENV PYTHON_GET_PIP_SHA256=9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"digest": "sha256:a96e2ba063af136fea03863ae61b26f3a9f5217e19c072ec75ba2c21e885a8ea", |
|
|
|
"size": 3374447, |
|
|
|
"instruction": "RUN /bin/sh -c set -eux; \t\tsavedAptMark=\"$(apt-mark showmanual)\"; \tapt-get update; \tapt-get install -y --no-install-recommends wget; \t\twget -O get-pip.py \"$PYTHON_GET_PIP_URL\"; \techo \"$PYTHON_GET_PIP_SHA256 *get-pip.py\" | sha256sum -c -; \t\tapt-mark auto '.*' > /dev/null; \t[ -z \"$savedAptMark\" ] || apt-mark manual $savedAptMark > /dev/null; \tapt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \trm -rf /var/lib/apt/lists/*; \t\texport PYTHONDONTWRITEBYTECODE=1; \t\tpython get-pip.py \t\t--disable-pip-version-check \t\t--no-cache-dir \t\t--no-compile \t\t\"pip==$PYTHON_PIP_VERSION\" \t\t\"setuptools==$PYTHON_SETUPTOOLS_VERSION\" \t; \trm -f get-pip.py; \t\tpip --version # buildkit" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"size": 0, |
|
|
|
"instruction": "CMD [\"python3\"]" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"digest": "sha256:054978870e317e93bc89a07680200ca542b241e2ff28f9a74204068e9c631e5c", |
|
|
|
"size": 4262348, |
|
|
|
"instruction": "RUN /bin/sh -c pip install --no-cache-dir gunicorn flask[async] # buildkit" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"digest": "sha256:0d762b39c97711f3f8655436e95d6880bdc19839699669f412a1c431d4855770", |
|
|
|
"size": 784, |
|
|
|
"instruction": "RUN /bin/sh -c apt install -y openssl # buildkit" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"digest": "sha256:921839a013e807f279129fe6cfcf9f84bfb6e3467fd32bc10f5d15010f9ca086", |
|
|
|
"size": 210, |
|
|
|
"instruction": "RUN /bin/sh -c apt clean # buildkit" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"digest": "sha256:87553c23caea19045ed9081bd26beed42dbc83c3000b9d9ff83eb253463bfa7b", |
|
|
|
"size": 17534771, |
|
|
|
"instruction": "RUN /bin/sh -c pip install --no-cache-dir snscrape==0.4.3.20220106 aiohttp[speedups] requests switch nest_asyncio cachetools click asyncache pyyaml # buildkit" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"size": 0, |
|
|
|
"instruction": "EXPOSE map[8000/tcp:{}]" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"digest": "sha256:83b63b2fcb4aec5df1c8138b45abd34a0a0d7f930faeb26bb70937ee49f32f95", |
|
|
|
"size": 242914, |
|
|
|
"instruction": "COPY . /app # buildkit" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"digest": "sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1", |
|
|
|
"size": 32, |
|
|
|
"instruction": "WORKDIR /app" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"digest": "sha256:9a66804f897cc6ce928668e88b1a6aeb4aed6e7506624ed458759d9ab46abf6c", |
|
|
|
"size": 473632, |
|
|
|
"instruction": "RUN /bin/sh -c pip install --upgrade -r REQUIREMENTS.txt # buildkit" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"size": 0, |
|
|
|
"instruction": "ENTRYPOINT [\"gunicorn\" \"-b\" \"0.0.0.0:8000\" \"--config\" \"gunicorn.conf\" \"app:app\"]" |
|
|
|
} |
|
|
|
], |
|
|
|
"os": "linux", |
|
|
|
"os_features": null, |
|
|
|
"os_version": null, |
|
|
|
"size": 69926906, |
|
|
|
"status": "active", |
|
|
|
"last_pulled": "2024-01-01T05:50:12.564688Z", |
|
|
|
"last_pushed": "2023-12-27T20:22:55.485609Z" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"architecture": "unknown", |
|
|
|
"features": null, |
|
|
|
"variant": null, |
|
|
|
"digest": "sha256:9807e389cca35e5a856c252edc21c9f9bd604aa0b341eb7db758618e5caf8937", |
|
|
|
"os": "unknown", |
|
|
|
"os_features": null, |
|
|
|
"os_version": null, |
|
|
|
"size": 1151, |
|
|
|
"status": "active", |
|
|
|
"last_pulled": "2023-12-27T22:00:57.331317Z", |
|
|
|
"last_pushed": "2023-12-27T20:22:55.679984Z" |
|
|
|
} |
|
|
|
] |