Namespace
whyour
Image / Tag
qinglong:2.15.14
Content Digest
sha256:3e87da669a914a960cfe26b7fc91ac8f2e2fc402723667a8b15ee0f99a3e90d2
Details
Created

2023-05-15 15:48:57 UTC

Size

85.7 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2023-05-15T15:47:48.789Z
  • 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
    1377fe31aa00f9ae337e79acc3f2e2740bbce7fa
  • 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
    2.15.14

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_GET_PIP_SHA256

96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.11

QL_BRANCH

v2.15.14

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:613767c5530f4016482e81288d0efdca4e58c62031252130d8fccd6f6260a068 - 3.63% (3.11 MB)

[#001] sha256:875a5ecac9f47a80ebf88c2dcc35c0f5750b38b4f7f5de92ff0b53a9f5ebc24b - 0.69% (608 KB)

[#002] sha256:bca37a8a4bf1b5baa31c49562f0481ca93c056979b67336244b33e922c731e12 - 13.54% (11.6 MB)

[#003] sha256:4d270541f58c05eaec92235f9abc5aeab86b7fad1a49fb7baa6d9373612804ac - 0.0% (242 Bytes)

[#004] sha256:910798e712bcf42ec71e1772c2aaac9ad21c124df897f583b334a9d84e21590d - 3.43% (2.94 MB)

[#005] sha256:851b9cef91dc902be386c3959413fd3dc0cb2a5f5dfa85f36dc9b96e9223b9bd - 58.25% (49.9 MB)

[#006] sha256:efb8e901237b8a3430618d3b1accc06cdda01333c6bb80046c8d1d56c8f3f3a6 - 4.04% (3.46 MB)

[#007] sha256:f1b14b3e4285a06ada086260bf29caa7a14612628fa81e6736119e25a3a77ef9 - 16.42% (14.1 MB)

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


History
2023-05-09 23:11:03 UTC

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

2023-05-09 23:11:03 UTC

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.11

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; 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 '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-05-15 14:38:57 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2023-05-15 14:38:57 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2023-05-15 14:38:57 UTC (buildkit.dockerfile.v0)

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

2023-05-15 14:38:57 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=develop

2023-05-15 14:38:57 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=v2.15.14

2023-05-15 14:38:57 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.15.14 /bin/sh -c set -x && sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update -f && apk upgrade && apk --no-cache add -f bash coreutils git curl wget tzdata perl openssl nginx nodejs jq openssh procps netcat-openbsd npm && rm -rf /var/cache/apk/* && apk update && 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] && cd && pnpm config set registry https://registry.npmmirror.com && pnpm add -g pm2 tsx && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm # buildkit

2023-05-15 14:38:57 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT

2023-05-15 15:48:51 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.15.14 SOURCE_COMMIT=1377fe31aa00f9ae337e79acc3f2e2740bbce7fa /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

2023-05-15 15:48:57 UTC (buildkit.dockerfile.v0)

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

2023-05-15 15:48:57 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2023-05-15 15:48:57 UTC (buildkit.dockerfile.v0)

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

2023-05-15 15:48:57 UTC (buildkit.dockerfile.v0)

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

Details
Created

2023-05-15 15:48:57 UTC

Size

86.1 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2023-05-15T15:47:48.789Z
  • 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
    1377fe31aa00f9ae337e79acc3f2e2740bbce7fa
  • 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
    2.15.14

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_GET_PIP_SHA256

96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.11

QL_BRANCH

v2.15.14

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:8a49fdb3b6a5ff2bd8ec6a86c05b2922a0f7454579ecc07637e94dfd1d0639b6 - 3.76% (3.24 MB)

[#001] sha256:0357922e53aa8671e175f58d46bfd245908047b81e66370f634863785fe0c70e - 0.69% (608 KB)

[#002] sha256:4cc8bc611b9b4704779bd8f98daaef8d590778fb6624906b2374271b9c5cad7f - 13.34% (11.5 MB)

[#003] sha256:b02ae00ef5f86d252d749989a2f3bcff416c71dc78b3950638f90f656756f022 - 0.0% (243 Bytes)

[#004] sha256:e98a36fef90a808502851638303ecdf3458de36c265420ab272d340b9ab4219e - 3.41% (2.94 MB)

[#005] sha256:13d9bbd5937442047c49c7c2556528937b662057dc0e13fcf006d3ed413449fd - 58.45% (50.3 MB)

[#006] sha256:f55580bfe22ca16b01284cff329d0c82cb7a25906ca51dc6d501a2c9fd05d15a - 4.02% (3.46 MB)

[#007] sha256:702e8519a97871ded45376b678f99ce27bf7b6b744c9a1983f1a6c751be5f966 - 16.32% (14.1 MB)

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


History
2023-05-09 23:11:10 UTC

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

2023-05-09 23:11:10 UTC

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.11

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; 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 '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-05-15 14:38:50 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2023-05-15 14:38:50 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2023-05-15 14:38:50 UTC (buildkit.dockerfile.v0)

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

2023-05-15 14:38:50 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=develop

2023-05-15 14:38:50 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=v2.15.14

2023-05-15 14:38:50 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.15.14 /bin/sh -c set -x && sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update -f && apk upgrade && apk --no-cache add -f bash coreutils git curl wget tzdata perl openssl nginx nodejs jq openssh procps netcat-openbsd npm && rm -rf /var/cache/apk/* && apk update && 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] && cd && pnpm config set registry https://registry.npmmirror.com && pnpm add -g pm2 tsx && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm # buildkit

2023-05-15 14:38:50 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT

2023-05-15 15:48:56 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.15.14 SOURCE_COMMIT=1377fe31aa00f9ae337e79acc3f2e2740bbce7fa /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

2023-05-15 15:48:57 UTC (buildkit.dockerfile.v0)

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

2023-05-15 15:48:57 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2023-05-15 15:48:57 UTC (buildkit.dockerfile.v0)

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

2023-05-15 15:48:57 UTC (buildkit.dockerfile.v0)

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

Details
Created

2023-05-15 15:49:05 UTC

Size

83.6 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2023-05-15T15:47:48.789Z
  • 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
    1377fe31aa00f9ae337e79acc3f2e2740bbce7fa
  • 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
    2.15.14

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_GET_PIP_SHA256

96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.11

QL_BRANCH

v2.15.14

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:015ee8d9fb3dca1b18815f1e4ee0d325d1f40cde6f2df4dd307918f7b69167d7 - 3.6% (3.01 MB)

[#001] sha256:3af410750f2f6ddadd2ebd933ff0042ab9f5ea28e89e0b3de829d9b935223a86 - 0.71% (608 KB)

[#002] sha256:ebc538926f03996fd233478b159d01d0f345ca640d08175fc349446f3f0425c6 - 13.39% (11.2 MB)

[#003] sha256:fd1794a4b36a8fe4499799716f0940d70cfd95237039234d93aebdcc50c67596 - 0.0% (241 Bytes)

[#004] sha256:81eb9ef8dbf607e0919a29691e5d26d2a4cf643245a3d2bb6ed2dd8f3c95195e - 3.51% (2.94 MB)

[#005] sha256:81b2829a72f2e7ce1b9dafaab601837fa8f83bb01d3b7c6afb5c921ef0090b8c - 57.97% (48.5 MB)

[#006] sha256:a4b746a36e1d5bd544dc51793dd15b676c9ba92a950f3890d82e4aeef36d3660 - 4.14% (3.46 MB)

[#007] sha256:f3d6dc77b3b7b01e2162adfeb31d29647da4428b87d8289046b134ef803f46ed - 16.67% (13.9 MB)

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


History
2023-05-09 23:11:04 UTC

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

2023-05-09 23:11:04 UTC

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.11

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; 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 '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-05-15 14:43:01 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2023-05-15 14:43:01 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2023-05-15 14:43:01 UTC (buildkit.dockerfile.v0)

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

2023-05-15 14:43:01 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=develop

2023-05-15 14:43:01 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=v2.15.14

2023-05-15 14:43:01 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.15.14 /bin/sh -c set -x && sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update -f && apk upgrade && apk --no-cache add -f bash coreutils git curl wget tzdata perl openssl nginx nodejs jq openssh procps netcat-openbsd npm && rm -rf /var/cache/apk/* && apk update && 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] && cd && pnpm config set registry https://registry.npmmirror.com && pnpm add -g pm2 tsx && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm # buildkit

2023-05-15 14:43:01 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT

2023-05-15 15:49:01 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.15.14 SOURCE_COMMIT=1377fe31aa00f9ae337e79acc3f2e2740bbce7fa /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

2023-05-15 15:49:05 UTC (buildkit.dockerfile.v0)

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

2023-05-15 15:49:05 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2023-05-15 15:49:05 UTC (buildkit.dockerfile.v0)

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

2023-05-15 15:49:05 UTC (buildkit.dockerfile.v0)

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

Details
Created

2023-05-15 15:49:01 UTC

Size

81.8 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2023-05-15T15:47:48.789Z
  • 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
    1377fe31aa00f9ae337e79acc3f2e2740bbce7fa
  • 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
    2.15.14

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_GET_PIP_SHA256

96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.11

QL_BRANCH

v2.15.14

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:e14425cf8fb9304b9ad4a9d1250e0d4c22e507a334ff747fa69b804500afc113 - 3.39% (2.78 MB)

[#001] sha256:146031ae77e3ccb617c709a7194a0ca36db5b31802514ecdae2f94c95dc262d5 - 0.72% (607 KB)

[#002] sha256:91a0b579c082df4330749d38cceb2ebe50a47f673464f093b57b3b49c704aabb - 13.14% (10.7 MB)

[#003] sha256:540912f521f37f32531506ef56da1208575a7b1f1aebf68a9c6c01bcc15c0d10 - 0.0% (240 Bytes)

[#004] sha256:ecc680592f9a9567e5c59bafa0403aed413d1ec28015a3e5e43bf3482f65f09e - 3.59% (2.94 MB)

[#005] sha256:a456fe628fa08f29f9d58b1fa77abde5e5446d1d68c0eca6320c697a8283d89e - 57.89% (47.4 MB)

[#006] sha256:ad7aee84c5d17b4f1c5138a6f439ffa288e2fdc125c694bc94fe1fe5461287a5 - 4.23% (3.46 MB)

[#007] sha256:47b4406fb85fd34a86391d7cfb4dfb8fc4f8b5a2fd70e79f362b7f461568fea0 - 17.03% (13.9 MB)

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


History
2023-05-09 22:57:32 UTC

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

2023-05-09 22:57:32 UTC

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.11

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; 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 '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-05-15 14:43:06 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2023-05-15 14:43:06 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2023-05-15 14:43:06 UTC (buildkit.dockerfile.v0)

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

2023-05-15 14:43:06 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=develop

2023-05-15 14:43:06 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=v2.15.14

2023-05-15 14:43:06 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.15.14 /bin/sh -c set -x && sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update -f && apk upgrade && apk --no-cache add -f bash coreutils git curl wget tzdata perl openssl nginx nodejs jq openssh procps netcat-openbsd npm && rm -rf /var/cache/apk/* && apk update && 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] && cd && pnpm config set registry https://registry.npmmirror.com && pnpm add -g pm2 tsx && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm # buildkit

2023-05-15 14:43:06 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT

2023-05-15 15:49:00 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.15.14 SOURCE_COMMIT=1377fe31aa00f9ae337e79acc3f2e2740bbce7fa /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

2023-05-15 15:49:01 UTC (buildkit.dockerfile.v0)

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

2023-05-15 15:49:01 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2023-05-15 15:49:01 UTC (buildkit.dockerfile.v0)

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

2023-05-15 15:49:01 UTC (buildkit.dockerfile.v0)

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

Details
Created

2023-05-15 15:49:05 UTC

Size

86.1 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2023-05-15T15:47:48.789Z
  • 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
    1377fe31aa00f9ae337e79acc3f2e2740bbce7fa
  • 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
    2.15.14

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_GET_PIP_SHA256

96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.11

QL_BRANCH

v2.15.14

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:08409d4172603f40b56eb6b76240a1e6bd78baa0e96590dc7ff76c5f1a093af2 - 3.7% (3.19 MB)

[#001] sha256:980740d53f9253fd08e2c08238daeae6f782260542ad5084942d7840d4ed7d01 - 0.69% (610 KB)

[#002] sha256:79081e0e69515913d1c500402f61ac8afe0337bc59d2a0e86d82176bcf6b1d4d - 13.44% (11.6 MB)

[#003] sha256:71796b7b63bdad62fa8ca2a57acc16f758546492fbb3ccd21d765d42408caded - 0.0% (243 Bytes)

[#004] sha256:33af54fdb1b5508a38b09fc77c017f9a30f98ddcca2c222a4d12cd367c70b726 - 3.41% (2.94 MB)

[#005] sha256:86812ce0ef9670b0d203740b6d503f8f4433a06f4db83bec0ba54c1c985576f8 - 58.42% (50.3 MB)

[#006] sha256:0baac66f2e514bb773db8b2f0b5fa8d31fa3a0ec3b34b0c863f4d0f827f2967c - 4.02% (3.46 MB)

[#007] sha256:83cfa18a5f11525609722c6d72cc7083f8f5641c44f4f5779691edf7819039ad - 16.32% (14 MB)

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


History
2023-05-09 23:11:08 UTC

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

2023-05-09 23:11:08 UTC

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.11

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; 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 '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-05-15 14:43:27 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2023-05-15 14:43:27 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2023-05-15 14:43:27 UTC (buildkit.dockerfile.v0)

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

2023-05-15 14:43:27 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=develop

2023-05-15 14:43:27 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=v2.15.14

2023-05-15 14:43:27 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.15.14 /bin/sh -c set -x && sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update -f && apk upgrade && apk --no-cache add -f bash coreutils git curl wget tzdata perl openssl nginx nodejs jq openssh procps netcat-openbsd npm && rm -rf /var/cache/apk/* && apk update && 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] && cd && pnpm config set registry https://registry.npmmirror.com && pnpm add -g pm2 tsx && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm # buildkit

2023-05-15 14:43:27 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT

2023-05-15 15:49:01 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.15.14 SOURCE_COMMIT=1377fe31aa00f9ae337e79acc3f2e2740bbce7fa /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

2023-05-15 15:49:05 UTC (buildkit.dockerfile.v0)

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

2023-05-15 15:49:05 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2023-05-15 15:49:05 UTC (buildkit.dockerfile.v0)

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

2023-05-15 15:49:05 UTC (buildkit.dockerfile.v0)

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

Details
Created

2023-05-15 15:49:05 UTC

Size

87.4 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2023-05-15T15:47:48.789Z
  • 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
    1377fe31aa00f9ae337e79acc3f2e2740bbce7fa
  • 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
    2.15.14

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_GET_PIP_SHA256

96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.11

QL_BRANCH

v2.15.14

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:5c0986f188e93dd7e76a4dc49a9170da2cd124709f5e1590b378e31a2b0d9587 - 3.7% (3.23 MB)

[#001] sha256:b942c572c9edd98e26d8ac15d91124b1d50a98cdefe30bca9bada2f9f4a4f057 - 0.68% (610 KB)

[#002] sha256:c477df493cce68f959d3116fdbcf88a38336954db973fc6ef835d8442aa1b2ae - 13.57% (11.9 MB)

[#003] sha256:dec60954d06931dc96b86ca8fe11d478fb8fdd39c285a53806e7eccdc61e5630 - 0.0% (244 Bytes)

[#004] sha256:254e4138b9a34274573413392162e7c30c5bf3d95661d6528e1663bf05517fd4 - 3.36% (2.94 MB)

[#005] sha256:fb30f684ee16c1394be994d602d4ba14c53bf58f22d29fb56bd0de35cc49104a - 58.43% (51 MB)

[#006] sha256:03cacd2842644815c13eb8209c19a551beff7c35dd2fb58b54a0f051ef669083 - 3.96% (3.46 MB)

[#007] sha256:f977c825f3c2b13cf32014feacf737fd7c41218f66cd128335d90c4f95b483b3 - 16.3% (14.2 MB)

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


History
2023-05-09 23:11:09 UTC

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

2023-05-09 23:11:10 UTC

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.11

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; 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 '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-05-15 14:43:05 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2023-05-15 14:43:05 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2023-05-15 14:43:05 UTC (buildkit.dockerfile.v0)

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

2023-05-15 14:43:05 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=develop

2023-05-15 14:43:05 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=v2.15.14

2023-05-15 14:43:05 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.15.14 /bin/sh -c set -x && sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update -f && apk upgrade && apk --no-cache add -f bash coreutils git curl wget tzdata perl openssl nginx nodejs jq openssh procps netcat-openbsd npm && rm -rf /var/cache/apk/* && apk update && 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] && cd && pnpm config set registry https://registry.npmmirror.com && pnpm add -g pm2 tsx && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm # buildkit

2023-05-15 14:43:05 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT

2023-05-15 15:49:01 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.15.14 SOURCE_COMMIT=1377fe31aa00f9ae337e79acc3f2e2740bbce7fa /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

2023-05-15 15:49:05 UTC (buildkit.dockerfile.v0)

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

2023-05-15 15:49:05 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2023-05-15 15:49:05 UTC (buildkit.dockerfile.v0)

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

2023-05-15 15:49:05 UTC (buildkit.dockerfile.v0)

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

Details
Created

2023-05-15 15:49:00 UTC

Size

86.4 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2023-05-15T15:47:48.789Z
  • 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
    1377fe31aa00f9ae337e79acc3f2e2740bbce7fa
  • 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
    2.15.14

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_GET_PIP_SHA256

96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.11

QL_BRANCH

v2.15.14

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:25da54cc0a08f4ca602c6bcd3e52d70082eb8a25ee022bc9f1dda019de49197a - 3.56% (3.08 MB)

[#001] sha256:33924f269d344bf2fb2f7263ea0b50cbdc50e9f8e9c000f6f38580b95476fdc2 - 0.69% (608 KB)

[#002] sha256:86ed5157418f66330fb28c7f756b28c981f863fb1e17ec920cd4fb2d765f7c7a - 13.34% (11.5 MB)

[#003] sha256:5d11ff405d2b478008ace5c73f5595e588a9c8b826ba07ae4dc4662e55c80c04 - 0.0% (242 Bytes)

[#004] sha256:e8befb340269840633b517d984f1d5231c6d191c5a25afb07110161ba59b5f70 - 3.4% (2.94 MB)

[#005] sha256:1a1d83f38292c907828deb8193075f59900c6bc79f14cf60f839c810b51ab618 - 58.76% (50.8 MB)

[#006] sha256:b5971cbad1d6c8511eb5101bda09460637a98845c8b791a503e93978decbc032 - 4.0% (3.46 MB)

[#007] sha256:26332597f77269c313771e1993b1414baa2724dcc7f8a7a70610fac05eed0f77 - 16.26% (14.1 MB)

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


History
2023-05-09 23:11:06 UTC

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

2023-05-09 23:11:07 UTC

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.11

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; 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 '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-05-15 14:43:53 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2023-05-15 14:43:53 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2023-05-15 14:43:53 UTC (buildkit.dockerfile.v0)

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

2023-05-15 14:43:53 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=develop

2023-05-15 14:43:53 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=v2.15.14

2023-05-15 14:43:53 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.15.14 /bin/sh -c set -x && sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update -f && apk upgrade && apk --no-cache add -f bash coreutils git curl wget tzdata perl openssl nginx nodejs jq openssh procps netcat-openbsd npm && rm -rf /var/cache/apk/* && apk update && 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] && cd && pnpm config set registry https://registry.npmmirror.com && pnpm add -g pm2 tsx && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm # buildkit

2023-05-15 14:43:53 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT

2023-05-15 15:48:58 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.15.14 SOURCE_COMMIT=1377fe31aa00f9ae337e79acc3f2e2740bbce7fa /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

2023-05-15 15:49:00 UTC (buildkit.dockerfile.v0)

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

2023-05-15 15:49:00 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2023-05-15 15:49:00 UTC (buildkit.dockerfile.v0)

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

2023-05-15 15:49:00 UTC (buildkit.dockerfile.v0)

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

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