Namespace
whyour
Image / Tag
qinglong:debian-dev
Content Digest
sha256:290ab5ba2c23ed8d0d84fa87e7cea1524338ecb952b8da0aac73930e642629cf
Details
Created

2024-11-18 15:56:44 UTC

Size

182 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2024-11-18T15:55:06.604Z
  • org.opencontainers.image.description
    支持 Python3、JavaScript、Shell、Typescript 的定时任务管理平台(Timed task management platform supporting Python3, JavaScript, Shell, Typescript)
  • org.opencontainers.image.licenses
    Apache-2.0
  • org.opencontainers.image.revision
    01ed0353448dc3a30803dab360f9e7d6c6fb946f
  • org.opencontainers.image.source
    https://github.com/whyour/qinglong
  • org.opencontainers.image.title
    qinglong
  • org.opencontainers.image.url
    https://github.com/whyour/qinglong
  • org.opencontainers.image.version
    debian-dev

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

07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

PYTHON_VERSION

3.11.10

QL_BRANCH

debian-dev

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:2d429b9e73a6cf90a5bb85105c8118b30a1b2deedeae3ea9587055ffcb80eb45 - 15.22% (27.8 MB)

[#001] sha256:14dbff54af923889a0e26a829553caa713f43c3b921620fd2d5db341386ecfb2 - 1.84% (3.35 MB)

[#002] sha256:71ba669986f7c60a5e178baa52bc67b3821d038c49d6bf03741d3fd43edd4e84 - 8.47% (15.5 MB)

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

[#004] sha256:6ae5c372349125d4dd0c5d34ba7b2548da5f72265cc3dbcb696c36d4d3095501 - 19.01% (34.7 MB)

[#005] sha256:8dadf615f65c15b1be89bab8589f1bf983e67affb1dedab6cd9cd3fdb0df8dae - 1.45% (2.64 MB)

[#006] sha256:85287261ae50b096615be9fdf538ab262c10385b3caf3906696bb1de9ed0e7eb - 36.68% (66.9 MB)

[#007] sha256:47836c035deaabcb6358438f43d56b249c175d0d825f26d677a9abdc7c4e80f3 - 5.54% (10.1 MB)

[#008] sha256:711ca7a31922d9626ca4f9ebb868b31ff143e6677f2dbe08cd494ac1991bddbd - 11.8% (21.5 MB)

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


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

ADD rootfs.tar.xz / # buildkit

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

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.11.10

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

ENV PYTHON_SHA256=07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

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-11-18 15:55:34 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2024-11-18 15:55:34 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2024-11-18 15:55:34 UTC (buildkit.dockerfile.v0)

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

2024-11-18 15:55:34 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=debian-dev

2024-11-18 15:55:34 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-dev

2024-11-18 15:55:34 UTC (buildkit.dockerfile.v0)

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

2024-11-18 15:55:35 UTC (buildkit.dockerfile.v0)

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

2024-11-18 15:56:36 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian-dev /bin/sh -c set -x && ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm && ln -s /usr/local/lib/node_modules/npm/bin/npx-cli.js /usr/local/bin/npx && 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-11-18 15:56:36 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT=01ed0353448dc3a30803dab360f9e7d6c6fb946f

2024-11-18 15:56:40 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian-dev SOURCE_COMMIT=01ed0353448dc3a30803dab360f9e7d6c6fb946f /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-11-18 15:56:43 UTC (buildkit.dockerfile.v0)

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

2024-11-18 15:56:44 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2024-11-18 15:56:44 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-11-18 15:56:44 UTC (buildkit.dockerfile.v0)

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

2024-11-18 15:56:44 UTC (buildkit.dockerfile.v0)

VOLUME [/ql/data]

2024-11-18 15:56:44 UTC (buildkit.dockerfile.v0)

EXPOSE map[5700/tcp:{}]

Details
Created

2024-11-18 16:02:45 UTC

Size

169 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2024-11-18T15:55:06.604Z
  • org.opencontainers.image.description
    支持 Python3、JavaScript、Shell、Typescript 的定时任务管理平台(Timed task management platform supporting Python3, JavaScript, Shell, Typescript)
  • org.opencontainers.image.licenses
    Apache-2.0
  • org.opencontainers.image.revision
    01ed0353448dc3a30803dab360f9e7d6c6fb946f
  • org.opencontainers.image.source
    https://github.com/whyour/qinglong
  • org.opencontainers.image.title
    qinglong
  • org.opencontainers.image.url
    https://github.com/whyour/qinglong
  • org.opencontainers.image.version
    debian-dev

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

07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

PYTHON_VERSION

3.11.10

QL_BRANCH

debian-dev

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:ddd3c6488ea8b62db6811ba136fe14cba70219532910e67a91ed3388ec9f5757 - 13.96% (23.6 MB)

[#001] sha256:0e21eaca80965f4554a60362cc92686f6d98c8d45dbf96f9be543d0c99a72724 - 1.65% (2.78 MB)

[#002] sha256:013e103042c3db1768676c08c6d28ff1cc73c1cf4cca2d99e0123e0f08e01b0e - 8.58% (14.5 MB)

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

[#004] sha256:289da645622cdadf5a2a0ed6e53c66a6a2e07106af41314881c8cfedab5cbc97 - 18.33% (31 MB)

[#005] sha256:dbdc5c99f77aed4cc9741f6a405001f9925c2f6a41f340154d757493257c79d8 - 1.56% (2.64 MB)

[#006] sha256:75d37d156b2e265296308a8053fda48bbcadc92106ab7bc8f0ff7ee2f5b410c4 - 37.27% (63 MB)

[#007] sha256:2033735059e0328b1b5f8c10d9781e32381d27c96f4c6c69227a2d1743b904ea - 5.98% (10.1 MB)

[#008] sha256:e04e746ded96d5718d72cb64c2ca854421a9b94aedf11fd335e39f2781eb9ae6 - 12.67% (21.4 MB)

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


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

ADD rootfs.tar.xz / # buildkit

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

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.11.10

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

ENV PYTHON_SHA256=07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

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-11-18 15:55:32 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2024-11-18 15:55:32 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2024-11-18 15:55:32 UTC (buildkit.dockerfile.v0)

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

2024-11-18 15:55:32 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=debian-dev

2024-11-18 15:55:32 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-dev

2024-11-18 15:55:32 UTC (buildkit.dockerfile.v0)

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

2024-11-18 15:55:34 UTC (buildkit.dockerfile.v0)

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

2024-11-18 16:02:33 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian-dev /bin/sh -c set -x && ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm && ln -s /usr/local/lib/node_modules/npm/bin/npx-cli.js /usr/local/bin/npx && 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-11-18 16:02:33 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT=01ed0353448dc3a30803dab360f9e7d6c6fb946f

2024-11-18 16:02:42 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian-dev SOURCE_COMMIT=01ed0353448dc3a30803dab360f9e7d6c6fb946f /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-11-18 16:02:45 UTC (buildkit.dockerfile.v0)

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

2024-11-18 16:02:45 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2024-11-18 16:02:45 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-11-18 16:02:45 UTC (buildkit.dockerfile.v0)

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

2024-11-18 16:02:45 UTC (buildkit.dockerfile.v0)

VOLUME [/ql/data]

2024-11-18 16:02:45 UTC (buildkit.dockerfile.v0)

EXPOSE map[5700/tcp:{}]

Details
Created

2024-11-18 16:02:59 UTC

Size

182 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2024-11-18T15:55:06.604Z
  • org.opencontainers.image.description
    支持 Python3、JavaScript、Shell、Typescript 的定时任务管理平台(Timed task management platform supporting Python3, JavaScript, Shell, Typescript)
  • org.opencontainers.image.licenses
    Apache-2.0
  • org.opencontainers.image.revision
    01ed0353448dc3a30803dab360f9e7d6c6fb946f
  • org.opencontainers.image.source
    https://github.com/whyour/qinglong
  • org.opencontainers.image.title
    qinglong
  • org.opencontainers.image.url
    https://github.com/whyour/qinglong
  • org.opencontainers.image.version
    debian-dev

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

07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

PYTHON_VERSION

3.11.10

QL_BRANCH

debian-dev

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:6d29a096dd42e5e003949f934fa6b1a3ec8e076dd8cfc2a85a4e750a3639bf7a - 15.26% (27.8 MB)

[#001] sha256:6fab32a80202b33cfda04522829fe2e08e9c3a1a4a548a71a09d35720709a5ba - 1.74% (3.18 MB)

[#002] sha256:610eb561c31bba14e5857ab19a777966885b979b0493a33b265682c9298772a4 - 8.44% (15.4 MB)

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

[#004] sha256:fe6210575fb0742bdfe34f8d233a659e38aed45be2e3b2be744f473d1024946c - 19.02% (34.7 MB)

[#005] sha256:067a91aff0992ed67994e85484a276dd3840c8c1e6733271f40738cee4300702 - 1.45% (2.64 MB)

[#006] sha256:e654abf19cc2fbc7c98f48b06e619fbe79365d25992b413da961f931ad49dff8 - 36.72% (66.9 MB)

[#007] sha256:3a667f4a24207a4ce1ed25c238c86aaeb406e5465d4e045103d4cc49ebd03f0c - 5.55% (10.1 MB)

[#008] sha256:b7ff72d762e8e6a6817f28070bc62a6e3ebddddcf91846282862f32477dd2c1a - 11.81% (21.5 MB)

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


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

ADD rootfs.tar.xz / # buildkit

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

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.11.10

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

ENV PYTHON_SHA256=07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

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-11-18 15:55:32 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2024-11-18 15:55:32 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2024-11-18 15:55:32 UTC (buildkit.dockerfile.v0)

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

2024-11-18 15:55:32 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=debian-dev

2024-11-18 15:55:32 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-dev

2024-11-18 15:55:32 UTC (buildkit.dockerfile.v0)

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

2024-11-18 15:55:34 UTC (buildkit.dockerfile.v0)

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

2024-11-18 16:02:51 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian-dev /bin/sh -c set -x && ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm && ln -s /usr/local/lib/node_modules/npm/bin/npx-cli.js /usr/local/bin/npx && 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-11-18 16:02:51 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT=01ed0353448dc3a30803dab360f9e7d6c6fb946f

2024-11-18 16:02:56 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian-dev SOURCE_COMMIT=01ed0353448dc3a30803dab360f9e7d6c6fb946f /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-11-18 16:02:59 UTC (buildkit.dockerfile.v0)

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

2024-11-18 16:02:59 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2024-11-18 16:02:59 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-11-18 16:02:59 UTC (buildkit.dockerfile.v0)

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

2024-11-18 16:02:59 UTC (buildkit.dockerfile.v0)

VOLUME [/ql/data]

2024-11-18 16:02:59 UTC (buildkit.dockerfile.v0)

EXPOSE map[5700/tcp:{}]

Details
Created

2024-11-18 16:02:53 UTC

Size

195 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2024-11-18T15:55:06.604Z
  • org.opencontainers.image.description
    支持 Python3、JavaScript、Shell、Typescript 的定时任务管理平台(Timed task management platform supporting Python3, JavaScript, Shell, Typescript)
  • org.opencontainers.image.licenses
    Apache-2.0
  • org.opencontainers.image.revision
    01ed0353448dc3a30803dab360f9e7d6c6fb946f
  • org.opencontainers.image.source
    https://github.com/whyour/qinglong
  • org.opencontainers.image.title
    qinglong
  • org.opencontainers.image.url
    https://github.com/whyour/qinglong
  • org.opencontainers.image.version
    debian-dev

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

07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

PYTHON_VERSION

3.11.10

QL_BRANCH

debian-dev

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:75e0ed8549227769329d9bb009b10ff68c47929fad577311f0d99115885347ef - 16.24% (31.6 MB)

[#001] sha256:d76890df8aa1e1b13dd45d5481649f929e48f05b16e27df4939ea9229c8b2bed - 1.82% (3.54 MB)

[#002] sha256:ac0412eb2c4a6ebbb3dbb90586335314b29a564ebe7572650c207386c9b6bb1b - 8.25% (16.1 MB)

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

[#004] sha256:7821d337619b40be7230421b85af90b33ff1096f887536eb02a381e5b211a9b1 - 19.05% (37.1 MB)

[#005] sha256:4b5d47a79eae2cd1d41f53536ee2c67f69c91d8064e8ef4d5dac4888a5377f50 - 1.36% (2.64 MB)

[#006] sha256:d1a9e81571a9312b2314d92d493f8df3b30b2e53cc9328f1e2fa18473442faad - 36.94% (71.9 MB)

[#007] sha256:bea0b1ab77ee59b92f8d76990e0c664788582494e3e5baa2161da55b8550c250 - 5.19% (10.1 MB)

[#008] sha256:d25c78c16fe2af1ea1790c019179ca690d22856a32d1aa8ebd5b9179c68e679b - 11.16% (21.7 MB)

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


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

ADD rootfs.tar.xz / # buildkit

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

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.11.10

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

ENV PYTHON_SHA256=07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

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-11-18 15:55:34 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2024-11-18 15:55:34 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2024-11-18 15:55:34 UTC (buildkit.dockerfile.v0)

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

2024-11-18 15:55:34 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=debian-dev

2024-11-18 15:55:34 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-dev

2024-11-18 15:55:34 UTC (buildkit.dockerfile.v0)

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

2024-11-18 15:55:35 UTC (buildkit.dockerfile.v0)

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

2024-11-18 16:02:44 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian-dev /bin/sh -c set -x && ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm && ln -s /usr/local/lib/node_modules/npm/bin/npx-cli.js /usr/local/bin/npx && 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-11-18 16:02:44 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT=01ed0353448dc3a30803dab360f9e7d6c6fb946f

2024-11-18 16:02:50 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian-dev SOURCE_COMMIT=01ed0353448dc3a30803dab360f9e7d6c6fb946f /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-11-18 16:02:53 UTC (buildkit.dockerfile.v0)

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

2024-11-18 16:02:53 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2024-11-18 16:02:53 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-11-18 16:02:53 UTC (buildkit.dockerfile.v0)

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

2024-11-18 16:02:53 UTC (buildkit.dockerfile.v0)

VOLUME [/ql/data]

2024-11-18 16:02:53 UTC (buildkit.dockerfile.v0)

EXPOSE map[5700/tcp:{}]

Details
Created

2024-11-18 16:03:02 UTC

Size

179 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2024-11-18T15:55:06.604Z
  • org.opencontainers.image.description
    支持 Python3、JavaScript、Shell、Typescript 的定时任务管理平台(Timed task management platform supporting Python3, JavaScript, Shell, Typescript)
  • org.opencontainers.image.licenses
    Apache-2.0
  • org.opencontainers.image.revision
    01ed0353448dc3a30803dab360f9e7d6c6fb946f
  • org.opencontainers.image.source
    https://github.com/whyour/qinglong
  • org.opencontainers.image.title
    qinglong
  • org.opencontainers.image.url
    https://github.com/whyour/qinglong
  • org.opencontainers.image.version
    debian-dev

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

07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

PYTHON_VERSION

3.11.10

QL_BRANCH

debian-dev

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:fa8cb447c1a4d7decc9cbf4223b78597699fc7980d77431c085cd6cf32c5b3ed - 14.65% (26.2 MB)

[#001] sha256:d1a50511153c2b407dd230f05481ee1993b8e1079e1c3843b79f12fa15de74e7 - 1.69% (3.03 MB)

[#002] sha256:0cfcf580ed42a56410063bd85ef34adb045d09628b47ff27281b74141351cffa - 8.54% (15.3 MB)

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

[#004] sha256:6780b5b153b28dc08e2ea43e67d6e0c2ef25d1095373fa6d75c318267433b36b - 19.28% (34.5 MB)

[#005] sha256:34a68dc637293ff35acb55b34dbfa7893063124a76f2255169d5e05f9c814860 - 1.48% (2.64 MB)

[#006] sha256:f30aa7d328f8f8218f4bc0e44f6be161f6056feb1688a022c85e1c34fbcfb392 - 36.7% (65.7 MB)

[#007] sha256:6fd0a0b802092ac2fc179fcbe866c985b639222f767db90ddc4f7d7d090e1e40 - 5.65% (10.1 MB)

[#008] sha256:8dec469888f193a762beaf0cada65d64e426146af730584532743240b4bd292d - 12.02% (21.5 MB)

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


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

ADD rootfs.tar.xz / # buildkit

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

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.11.10

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

ENV PYTHON_SHA256=07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

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-11-18 15:55:31 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2024-11-18 15:55:31 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2024-11-18 15:55:31 UTC (buildkit.dockerfile.v0)

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

2024-11-18 15:55:31 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=debian-dev

2024-11-18 15:55: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-dev

2024-11-18 15:55:31 UTC (buildkit.dockerfile.v0)

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

2024-11-18 15:55:32 UTC (buildkit.dockerfile.v0)

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

2024-11-18 16:02:53 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian-dev /bin/sh -c set -x && ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm && ln -s /usr/local/lib/node_modules/npm/bin/npx-cli.js /usr/local/bin/npx && 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-11-18 16:02:53 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT=01ed0353448dc3a30803dab360f9e7d6c6fb946f

2024-11-18 16:02:59 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=debian-dev SOURCE_COMMIT=01ed0353448dc3a30803dab360f9e7d6c6fb946f /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-11-18 16:03:01 UTC (buildkit.dockerfile.v0)

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

2024-11-18 16:03:02 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2024-11-18 16:03: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-11-18 16:03:02 UTC (buildkit.dockerfile.v0)

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

2024-11-18 16:03:02 UTC (buildkit.dockerfile.v0)

VOLUME [/ql/data]

2024-11-18 16:03:02 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