Namespace
whyour
Image / Tag
qinglong:debian-python3.10
Content Digest
sha256:d28ecb88b6ef8b66fb9a5dab3892dd8548e158266971f03ae14163dc992f39df
Details
Created

2024-10-26 16:21:27 UTC

Size

180 MB

Content Digest
Labels
  • maintainer
    whyour

Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

NODE_PATH

/usr/local/bin:/usr/local/pnpm-global/5/node_modules:/usr/local/lib/node_modules:/root/.local/share/pnpm/global/5/node_modules

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/share/pnpm:/root/.local/share/pnpm/global/5/node_modules

PNPM_HOME

/root/.local/share/pnpm

PS1

\u@\h:\w $

PYTHON_SHA256

aab0950817735172601879872d937c1e4928a57c409ae02369ec3d91dccebe79

PYTHON_VERSION

3.10.15

QL_BRANCH

debian

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:a480a496ba95a197d587aa1d9e0f545ca7dbd40495a4715342228db62b67c4ba - 15.39% (27.8 MB)

[#001] sha256:9555349e83800c1a78e4b4bb23f7952a24688a79b633620b8125923a1bf3e3ad - 1.86% (3.35 MB)

[#002] sha256:1c161e44b06b47575aa10197160213eb6643d4e081f57397d5cabbe41563ae51 - 8.27% (14.9 MB)

[#003] sha256:417516d8bb61dd3aee6a1637ced8f895d4b96ae5e846498089492017767db731 - 0.0% (249 Bytes)

[#004] sha256:6c7cf7897c794d3bf7a735719a1da1546051fd242c7ad7bcf55974eca71a87da - 19.23% (34.7 MB)

[#005] sha256:4100db65c7e092f5a7849d10476c4fd346cea039d0e29a490675150686870476 - 1.47% (2.64 MB)

[#006] sha256:e456e8dda86b5d9c88e3a71d94f546f33176ee0573e1ab9d6c35f592455481f7 - 36.26% (65.4 MB)

[#007] sha256:22fdb7a9637960ab6f597a5a86c270302aca5694d29e63a57dfc4b47e1c450a0 - 5.6% (10.1 MB)

[#008] sha256:2d6202d424ee1f6d39e5f0ab28db416eeefc19448e924a5e300f35eb132a325f - 11.93% (21.5 MB)

[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2024-10-17 00:20:29 UTC

/bin/sh -c #(nop) ADD file:90b9dd8f12120e8b2cd3ece45fcbe8af67e40565e2032a40f64bd921c43e2ce7 in /

2024-10-17 00:20:30 UTC

/bin/sh -c #(nop) CMD ["bash"]

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.15

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=aab0950817735172601879872d937c1e4928a57c409ae02369ec3d91dccebe79

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; 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-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" 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 '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==65.5.1' wheel ; pip3 --version # buildkit

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pip3 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-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-10-26 07:47:30 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2024-10-26 07:47:30 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2024-10-26 07:47:30 UTC (buildkit.dockerfile.v0)

ARG QL_URL=https://github.com/whyour/qinglong.git

2024-10-26 07:47:30 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=debian

2024-10-26 07:47:30 UTC (buildkit.dockerfile.v0)

ENV PNPM_HOME=/root/.local/share/pnpm PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/share/pnpm:/root/.local/share/pnpm/global/5/node_modules NODE_PATH=/usr/local/bin:/usr/local/pnpm-global/5/node_modules:/usr/local/lib/node_modules:/root/.local/share/pnpm/global/5/node_modules LANG=C.UTF-8 SHELL=/bin/bash PS1=\u@\h:\w $ QL_DIR=/ql QL_BRANCH=debian

2024-10-26 07:47:30 UTC (buildkit.dockerfile.v0)

COPY /usr/local/bin/node /usr/local/bin/ # buildkit

2024-10-26 07:47:31 UTC (buildkit.dockerfile.v0)

COPY /usr/local/lib/node_modules/. /usr/local/lib/node_modules/ # buildkit

2024-10-26 07:49:37 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian /bin/sh -c set -x && ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm && apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git curl wget tzdata perl openssl openssh-client nginx jq procps netcat-openbsd unzip libatomic1 && apt-get clean && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" >/etc/timezone && git config --global user.email "qinglong@@users.noreply.github.com" && git config --global user.name "qinglong" && git config --global http.postBuffer 524288000 && npm install -g [email protected] pm2 ts-node && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm && ulimit -c 0 && pip3 install requests # buildkit

2024-10-26 07:49:37 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT=de01167131fa58342507073b0ced96efdb5c26e0

2024-10-26 16:20:53 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian SOURCE_COMMIT=de01167131fa58342507073b0ced96efdb5c26e0 /bin/sh -c git clone --depth=1 -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} && cd ${QL_DIR} && cp -f .env.example .env && chmod 777 ${QL_DIR}/shell/*.sh && chmod 777 ${QL_DIR}/docker/*.sh && git clone --depth=1 -b ${QL_BRANCH} https://github.com/${QL_MAINTAINER}/qinglong-static.git /static && mkdir -p ${QL_DIR}/static && cp -rf /static/* ${QL_DIR}/static && rm -rf /static # buildkit

2024-10-26 16:21:27 UTC (buildkit.dockerfile.v0)

COPY /tmp/build/node_modules/. /ql/node_modules/ # buildkit

2024-10-26 16:21:27 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2024-10-26 16:21:27 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -sf --noproxy '*' http://127.0.0.1:5400/api/health || exit 1"] "5s" "2s" "0s" "0s" '\x14'}

2024-10-26 16:21:27 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["./docker/docker-entrypoint.sh"]

2024-10-26 16:21:27 UTC (buildkit.dockerfile.v0)

VOLUME [/ql/data]

2024-10-26 16:21:27 UTC (buildkit.dockerfile.v0)

EXPOSE map[5700/tcp:{}]

Details
Created

2024-10-26 16:23:48 UTC

Size

167 MB

Content Digest
Labels
  • maintainer
    whyour

Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

NODE_PATH

/usr/local/bin:/usr/local/pnpm-global/5/node_modules:/usr/local/lib/node_modules:/root/.local/share/pnpm/global/5/node_modules

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/share/pnpm:/root/.local/share/pnpm/global/5/node_modules

PNPM_HOME

/root/.local/share/pnpm

PS1

\u@\h:\w $

PYTHON_SHA256

aab0950817735172601879872d937c1e4928a57c409ae02369ec3d91dccebe79

PYTHON_VERSION

3.10.15

QL_BRANCH

debian

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:d6319e551f4eae5cadf245338228c7b7cbad94a77c481a88ccbffef7b89f0aee - 14.12% (23.6 MB)

[#001] sha256:1aad01a2fbb2d69d236f24b8898d42b47da3dc8b6a1f0df1ce1d44ba0cb56b15 - 1.67% (2.78 MB)

[#002] sha256:fb582377afd4178c73a396b09ef8f53fd6d02a8e11c64b2fb1031a1301d202c0 - 8.39% (14 MB)

[#003] sha256:e8dc37134a6eab56d4273261ceef7e34b9b77985d1401a011caf8a3a8743ebd1 - 0.0% (249 Bytes)

[#004] sha256:07a613d1c86bfdeec37d680e7212306e6e95d1c4b948ba57e7573cd46b8b0e11 - 18.55% (31 MB)

[#005] sha256:7e0f8f86bc9a1e0a4fffdbb587c7265a1b814b665e9708bd43140b4767756d75 - 1.58% (2.64 MB)

[#006] sha256:88eba54119ceed410ab6bf72f83a4f1cc3a157df86b9bfd762224753f3f4ecc9 - 36.82% (61.5 MB)

[#007] sha256:778ea79ea2c959b17119fa4408f65394ee85b8cd6be877d4a39d8ab5762b2a9a - 6.05% (10.1 MB)

[#008] sha256:06a34088af0e3ce9e984b68e6f9c2f4621b402b004f640199ff0fb571cccbf41 - 12.82% (21.4 MB)

[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2024-10-17 03:03:21 UTC

/bin/sh -c #(nop) ADD file:e76e8ba7ebca0b1dcaec16ad1e863ab59c7e155f0b95ba46f5543e418a904b35 in /

2024-10-17 03:03:22 UTC

/bin/sh -c #(nop) CMD ["bash"]

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.15

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=aab0950817735172601879872d937c1e4928a57c409ae02369ec3d91dccebe79

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; 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-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" 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 '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==65.5.1' wheel ; pip3 --version # buildkit

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pip3 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-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

ARG QL_URL=https://github.com/whyour/qinglong.git

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=debian

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

ENV PNPM_HOME=/root/.local/share/pnpm PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/share/pnpm:/root/.local/share/pnpm/global/5/node_modules NODE_PATH=/usr/local/bin:/usr/local/pnpm-global/5/node_modules:/usr/local/lib/node_modules:/root/.local/share/pnpm/global/5/node_modules LANG=C.UTF-8 SHELL=/bin/bash PS1=\u@\h:\w $ QL_DIR=/ql QL_BRANCH=debian

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

COPY /usr/local/bin/node /usr/local/bin/ # buildkit

2024-10-26 07:47:31 UTC (buildkit.dockerfile.v0)

COPY /usr/local/lib/node_modules/. /usr/local/lib/node_modules/ # buildkit

2024-10-26 07:54:19 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian /bin/sh -c set -x && ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm && apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git curl wget tzdata perl openssl openssh-client nginx jq procps netcat-openbsd unzip libatomic1 && apt-get clean && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" >/etc/timezone && git config --global user.email "qinglong@@users.noreply.github.com" && git config --global user.name "qinglong" && git config --global http.postBuffer 524288000 && npm install -g [email protected] pm2 ts-node && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm && ulimit -c 0 && pip3 install requests # buildkit

2024-10-26 07:54:19 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT=de01167131fa58342507073b0ced96efdb5c26e0

2024-10-26 16:21:01 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian SOURCE_COMMIT=de01167131fa58342507073b0ced96efdb5c26e0 /bin/sh -c git clone --depth=1 -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} && cd ${QL_DIR} && cp -f .env.example .env && chmod 777 ${QL_DIR}/shell/*.sh && chmod 777 ${QL_DIR}/docker/*.sh && git clone --depth=1 -b ${QL_BRANCH} https://github.com/${QL_MAINTAINER}/qinglong-static.git /static && mkdir -p ${QL_DIR}/static && cp -rf /static/* ${QL_DIR}/static && rm -rf /static # buildkit

2024-10-26 16:23:48 UTC (buildkit.dockerfile.v0)

COPY /tmp/build/node_modules/. /ql/node_modules/ # buildkit

2024-10-26 16:23:48 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2024-10-26 16:23:48 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -sf --noproxy '*' http://127.0.0.1:5400/api/health || exit 1"] "5s" "2s" "0s" "0s" '\x14'}

2024-10-26 16:23:48 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["./docker/docker-entrypoint.sh"]

2024-10-26 16:23:48 UTC (buildkit.dockerfile.v0)

VOLUME [/ql/data]

2024-10-26 16:23:48 UTC (buildkit.dockerfile.v0)

EXPOSE map[5700/tcp:{}]

Details
Created

2024-10-26 16:24:07 UTC

Size

180 MB

Content Digest
Labels
  • maintainer
    whyour

Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

NODE_PATH

/usr/local/bin:/usr/local/pnpm-global/5/node_modules:/usr/local/lib/node_modules:/root/.local/share/pnpm/global/5/node_modules

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/share/pnpm:/root/.local/share/pnpm/global/5/node_modules

PNPM_HOME

/root/.local/share/pnpm

PS1

\u@\h:\w $

PYTHON_SHA256

aab0950817735172601879872d937c1e4928a57c409ae02369ec3d91dccebe79

PYTHON_VERSION

3.10.15

QL_BRANCH

debian

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:83d624c4be2db5b81ae220b6b10cbc9a559d5800fd32556f4020727098f71ed0 - 15.43% (27.8 MB)

[#001] sha256:e9825a162d70215a9b09c31e4c8d568fef6e98db556d956b8e9ae24a75124b25 - 1.76% (3.18 MB)

[#002] sha256:3bf1a43f63dbe8dad899f875f7276ce028f410522b531e2075f885d3c3bb24ef - 8.23% (14.8 MB)

[#003] sha256:02deedc921f90d7b59f7bf143deabcab36b2e5d96b74ba01d726460d61233d59 - 0.0% (248 Bytes)

[#004] sha256:8487eb4f0dd0048fef139d96fa2688841ba2b364949e8cbc6b1e76ae5f2939d4 - 19.24% (34.7 MB)

[#005] sha256:f2f1bd0b608dfc5cfd366cf68b92e19958a0a5c7ee73e8f8f2adb1c0a691be52 - 1.47% (2.64 MB)

[#006] sha256:878da82afa524768eff78a1a150330052db77982cd20a2e2e0f872cd564c24e5 - 36.31% (65.4 MB)

[#007] sha256:2152766f493d44a0e9416b84c932b8fe6e1ec21ef5e47edd83d231727f82ef2f - 5.61% (10.1 MB)

[#008] sha256:df82b127a2d555537f1a5e1ef951209001d6d6790dc0ba1815971ae0a1577dd7 - 11.94% (21.5 MB)

[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2024-10-17 01:11:59 UTC

/bin/sh -c #(nop) ADD file:702193928cded0bcec5edbf4a5660961e7caef8c9d9cafea3337b7f6720c4464 in /

2024-10-17 01:11:59 UTC

/bin/sh -c #(nop) CMD ["bash"]

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.15

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=aab0950817735172601879872d937c1e4928a57c409ae02369ec3d91dccebe79

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; 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-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" 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 '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==65.5.1' wheel ; pip3 --version # buildkit

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pip3 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-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-10-26 07:47:31 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2024-10-26 07:47:31 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2024-10-26 07:47:31 UTC (buildkit.dockerfile.v0)

ARG QL_URL=https://github.com/whyour/qinglong.git

2024-10-26 07:47:31 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=debian

2024-10-26 07:47:31 UTC (buildkit.dockerfile.v0)

ENV PNPM_HOME=/root/.local/share/pnpm PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/share/pnpm:/root/.local/share/pnpm/global/5/node_modules NODE_PATH=/usr/local/bin:/usr/local/pnpm-global/5/node_modules:/usr/local/lib/node_modules:/root/.local/share/pnpm/global/5/node_modules LANG=C.UTF-8 SHELL=/bin/bash PS1=\u@\h:\w $ QL_DIR=/ql QL_BRANCH=debian

2024-10-26 07:47:31 UTC (buildkit.dockerfile.v0)

COPY /usr/local/bin/node /usr/local/bin/ # buildkit

2024-10-26 07:47:32 UTC (buildkit.dockerfile.v0)

COPY /usr/local/lib/node_modules/. /usr/local/lib/node_modules/ # buildkit

2024-10-26 07:54:32 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian /bin/sh -c set -x && ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm && apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git curl wget tzdata perl openssl openssh-client nginx jq procps netcat-openbsd unzip libatomic1 && apt-get clean && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" >/etc/timezone && git config --global user.email "qinglong@@users.noreply.github.com" && git config --global user.name "qinglong" && git config --global http.postBuffer 524288000 && npm install -g [email protected] pm2 ts-node && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm && ulimit -c 0 && pip3 install requests # buildkit

2024-10-26 07:54:32 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT=de01167131fa58342507073b0ced96efdb5c26e0

2024-10-26 16:21:03 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian SOURCE_COMMIT=de01167131fa58342507073b0ced96efdb5c26e0 /bin/sh -c git clone --depth=1 -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} && cd ${QL_DIR} && cp -f .env.example .env && chmod 777 ${QL_DIR}/shell/*.sh && chmod 777 ${QL_DIR}/docker/*.sh && git clone --depth=1 -b ${QL_BRANCH} https://github.com/${QL_MAINTAINER}/qinglong-static.git /static && mkdir -p ${QL_DIR}/static && cp -rf /static/* ${QL_DIR}/static && rm -rf /static # buildkit

2024-10-26 16:24:07 UTC (buildkit.dockerfile.v0)

COPY /tmp/build/node_modules/. /ql/node_modules/ # buildkit

2024-10-26 16:24:07 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2024-10-26 16:24:07 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -sf --noproxy '*' http://127.0.0.1:5400/api/health || exit 1"] "5s" "2s" "0s" "0s" '\x14'}

2024-10-26 16:24:07 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["./docker/docker-entrypoint.sh"]

2024-10-26 16:24:07 UTC (buildkit.dockerfile.v0)

VOLUME [/ql/data]

2024-10-26 16:24:07 UTC (buildkit.dockerfile.v0)

EXPOSE map[5700/tcp:{}]

Details
Created

2024-10-26 16:24:02 UTC

Size

193 MB

Content Digest
Labels
  • maintainer
    whyour

Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

NODE_PATH

/usr/local/bin:/usr/local/pnpm-global/5/node_modules:/usr/local/lib/node_modules:/root/.local/share/pnpm/global/5/node_modules

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/share/pnpm:/root/.local/share/pnpm/global/5/node_modules

PNPM_HOME

/root/.local/share/pnpm

PS1

\u@\h:\w $

PYTHON_SHA256

aab0950817735172601879872d937c1e4928a57c409ae02369ec3d91dccebe79

PYTHON_VERSION

3.10.15

QL_BRANCH

debian

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:b5dc74e4487f0d4e25ed24462fe1564f5d931072ec24eeaee669f9cbe27f10c4 - 16.41% (31.6 MB)

[#001] sha256:10ebaf8e6954915cd1c00f2700a2dc4dac0f08f33084a9ff2d25b2c44025a625 - 1.84% (3.54 MB)

[#002] sha256:4f7742a4ed6284a9eff5a978fb66b9d7d78db3aba4474f20b0ac12ce3ffd5233 - 8.05% (15.5 MB)

[#003] sha256:a51bde6366ba18f4687bba9f38f95d7de8026385274fd03c0792470250bef5bc - 0.0% (249 Bytes)

[#004] sha256:4bff939f7c402803ddb8e442e47c3c424dc1209c720243b89fe2f5728b5a92b0 - 19.25% (37.1 MB)

[#005] sha256:e8d1cffdfb97eeb564b26908521966fbc6a90d21bec945a89ec8e041748c5cc1 - 1.37% (2.64 MB)

[#006] sha256:e340b683ba7cc039e88e40053f44c31dff54a2da72019e1565ff205200fe95fe - 36.56% (70.4 MB)

[#007] sha256:34177f479463a4e7575cf2c9a9c3ccce4f3541bd3d4342fbc95b09e63b8fb4d3 - 5.25% (10.1 MB)

[#008] sha256:0b5138b26a1fe302ee0bba591c94a0c6a629aa61570e8c2e8c9fac0f32382637 - 11.27% (21.7 MB)

[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2024-10-17 01:18:54 UTC

/bin/sh -c #(nop) ADD file:92b9ed0a5c924ec85b272100ff6dc81f126c6bd277ec2b3782af1119f9e07391 in /

2024-10-17 01:18:56 UTC

/bin/sh -c #(nop) CMD ["bash"]

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.15

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=aab0950817735172601879872d937c1e4928a57c409ae02369ec3d91dccebe79

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; 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-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" 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 '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==65.5.1' wheel ; pip3 --version # buildkit

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pip3 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-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

ARG QL_URL=https://github.com/whyour/qinglong.git

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=debian

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

ENV PNPM_HOME=/root/.local/share/pnpm PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/share/pnpm:/root/.local/share/pnpm/global/5/node_modules NODE_PATH=/usr/local/bin:/usr/local/pnpm-global/5/node_modules:/usr/local/lib/node_modules:/root/.local/share/pnpm/global/5/node_modules LANG=C.UTF-8 SHELL=/bin/bash PS1=\u@\h:\w $ QL_DIR=/ql QL_BRANCH=debian

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

COPY /usr/local/bin/node /usr/local/bin/ # buildkit

2024-10-26 07:47:31 UTC (buildkit.dockerfile.v0)

COPY /usr/local/lib/node_modules/. /usr/local/lib/node_modules/ # buildkit

2024-10-26 07:54:29 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian /bin/sh -c set -x && ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm && apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git curl wget tzdata perl openssl openssh-client nginx jq procps netcat-openbsd unzip libatomic1 && apt-get clean && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" >/etc/timezone && git config --global user.email "qinglong@@users.noreply.github.com" && git config --global user.name "qinglong" && git config --global http.postBuffer 524288000 && npm install -g [email protected] pm2 ts-node && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm && ulimit -c 0 && pip3 install requests # buildkit

2024-10-26 07:54:29 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT=de01167131fa58342507073b0ced96efdb5c26e0

2024-10-26 16:21:03 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian SOURCE_COMMIT=de01167131fa58342507073b0ced96efdb5c26e0 /bin/sh -c git clone --depth=1 -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} && cd ${QL_DIR} && cp -f .env.example .env && chmod 777 ${QL_DIR}/shell/*.sh && chmod 777 ${QL_DIR}/docker/*.sh && git clone --depth=1 -b ${QL_BRANCH} https://github.com/${QL_MAINTAINER}/qinglong-static.git /static && mkdir -p ${QL_DIR}/static && cp -rf /static/* ${QL_DIR}/static && rm -rf /static # buildkit

2024-10-26 16:24:01 UTC (buildkit.dockerfile.v0)

COPY /tmp/build/node_modules/. /ql/node_modules/ # buildkit

2024-10-26 16:24:02 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2024-10-26 16:24:02 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -sf --noproxy '*' http://127.0.0.1:5400/api/health || exit 1"] "5s" "2s" "0s" "0s" '\x14'}

2024-10-26 16:24:02 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["./docker/docker-entrypoint.sh"]

2024-10-26 16:24:02 UTC (buildkit.dockerfile.v0)

VOLUME [/ql/data]

2024-10-26 16:24:02 UTC (buildkit.dockerfile.v0)

EXPOSE map[5700/tcp:{}]

Details
Created

2024-10-26 16:24:04 UTC

Size

177 MB

Content Digest
Labels
  • maintainer
    whyour

Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

NODE_PATH

/usr/local/bin:/usr/local/pnpm-global/5/node_modules:/usr/local/lib/node_modules:/root/.local/share/pnpm/global/5/node_modules

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/share/pnpm:/root/.local/share/pnpm/global/5/node_modules

PNPM_HOME

/root/.local/share/pnpm

PS1

\u@\h:\w $

PYTHON_SHA256

aab0950817735172601879872d937c1e4928a57c409ae02369ec3d91dccebe79

PYTHON_VERSION

3.10.15

QL_BRANCH

debian

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:3544f1137f2bd42b766143fd0dc535d7e3a32f7fab936cdbc531329371bc5687 - 14.82% (26.2 MB)

[#001] sha256:4a7e1c7fa752c7241d7d4291baa3d22e9e35293174d4fc472ae23a92138aa68b - 1.71% (3.03 MB)

[#002] sha256:982348ad663a34708cd720737f7902a9741481818fbec3e67c16e59ba693fdc8 - 8.32% (14.7 MB)

[#003] sha256:d105bac8a590ff66fe91b935dbcaa17ed76145b2df6c80537b73462f9e7acf43 - 0.0% (250 Bytes)

[#004] sha256:c45d5cacda23b9cdbe03e23a6054c9d002ad4680e653936945c6a3b0f70a8517 - 19.5% (34.5 MB)

[#005] sha256:4945e6fa8a1a50aa828347aec58915bc1a04339a9d4b80733fbd0f8b7140c04c - 1.49% (2.64 MB)

[#006] sha256:a769f092d6844330a59f9f135d2766548f128fe2a9a2b1cc39770cfe04822d05 - 36.29% (64.2 MB)

[#007] sha256:4406366e21ebbd0d9674a6415ea2476b771da57820ce0fcbf83b46e25bfb93fb - 5.71% (10.1 MB)

[#008] sha256:144875afd3035aa83dbfc923ac1fdcdd586a1381af67d748d8b55b6f50958ad0 - 12.16% (21.5 MB)

[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2024-10-17 01:46:19 UTC

/bin/sh -c #(nop) ADD file:53293b1530bfd7e933ac5a321d4b0604f56c0fa25d3afeaedb0cec1938b938a3 in /

2024-10-17 01:46:20 UTC

/bin/sh -c #(nop) CMD ["bash"]

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.15

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=aab0950817735172601879872d937c1e4928a57c409ae02369ec3d91dccebe79

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; 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-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" 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 '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==65.5.1' wheel ; pip3 --version # buildkit

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pip3 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-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

ARG QL_URL=https://github.com/whyour/qinglong.git

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=debian

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

ENV PNPM_HOME=/root/.local/share/pnpm PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/share/pnpm:/root/.local/share/pnpm/global/5/node_modules NODE_PATH=/usr/local/bin:/usr/local/pnpm-global/5/node_modules:/usr/local/lib/node_modules:/root/.local/share/pnpm/global/5/node_modules LANG=C.UTF-8 SHELL=/bin/bash PS1=\u@\h:\w $ QL_DIR=/ql QL_BRANCH=debian

2024-10-26 07:47:29 UTC (buildkit.dockerfile.v0)

COPY /usr/local/bin/node /usr/local/bin/ # buildkit

2024-10-26 07:47:31 UTC (buildkit.dockerfile.v0)

COPY /usr/local/lib/node_modules/. /usr/local/lib/node_modules/ # buildkit

2024-10-26 07:54:39 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian /bin/sh -c set -x && ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm && apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git curl wget tzdata perl openssl openssh-client nginx jq procps netcat-openbsd unzip libatomic1 && apt-get clean && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" >/etc/timezone && git config --global user.email "qinglong@@users.noreply.github.com" && git config --global user.name "qinglong" && git config --global http.postBuffer 524288000 && npm install -g [email protected] pm2 ts-node && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm && ulimit -c 0 && pip3 install requests # buildkit

2024-10-26 07:54:39 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT=de01167131fa58342507073b0ced96efdb5c26e0

2024-10-26 16:21:05 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian SOURCE_COMMIT=de01167131fa58342507073b0ced96efdb5c26e0 /bin/sh -c git clone --depth=1 -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} && cd ${QL_DIR} && cp -f .env.example .env && chmod 777 ${QL_DIR}/shell/*.sh && chmod 777 ${QL_DIR}/docker/*.sh && git clone --depth=1 -b ${QL_BRANCH} https://github.com/${QL_MAINTAINER}/qinglong-static.git /static && mkdir -p ${QL_DIR}/static && cp -rf /static/* ${QL_DIR}/static && rm -rf /static # buildkit

2024-10-26 16:24:04 UTC (buildkit.dockerfile.v0)

COPY /tmp/build/node_modules/. /ql/node_modules/ # buildkit

2024-10-26 16:24:04 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2024-10-26 16:24:04 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -sf --noproxy '*' http://127.0.0.1:5400/api/health || exit 1"] "5s" "2s" "0s" "0s" '\x14'}

2024-10-26 16:24:04 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["./docker/docker-entrypoint.sh"]

2024-10-26 16:24:04 UTC (buildkit.dockerfile.v0)

VOLUME [/ql/data]

2024-10-26 16:24:04 UTC (buildkit.dockerfile.v0)

EXPOSE map[5700/tcp:{}]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete