Namespace
whyour
Image / Tag
qinglong:2.17.0
Content Digest
sha256:de6b6a9f6f6e10684a33efc6df212e41d90ca18dc7a245b003ceeeaebf55eac5
Details
Created

2024-01-18 05:54:36 UTC

Size

101 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2024-01-18T05:53:44.825Z
  • 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
    c083d2f4d1f4052255c6bf9b241955e79e742f8a
  • 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.17.0

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

9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/4cfa4081d27285bda1220a62a5ebf5b4bd749cdb/public/get-pip.py

PYTHON_PIP_VERSION

23.2.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.11.7

QL_BRANCH

v2.17.0

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:4966a8bd129b0a6adf93dc295a8fbe8f665d3194a684a5ce199c1c3596dbf3d9 - 3.06% (3.09 MB)

[#001] sha256:ffea944196344a71c68c27de834d0fcdc5eec752152b9f6fc6497ce5b6747f8f - 0.59% (608 KB)

[#002] sha256:45fa07015dd9f04071a465e21cc59d139c05828be1072170be1b91c455bb188f - 11.86% (12 MB)

[#003] sha256:28bffb848167d4c1fe89dcf56253d923477c0fa99a3d884a6b0da7633e1c4430 - 0.0% (240 Bytes)

[#004] sha256:1da2fb481fcedbf03e6914eaa40e8dca766fac03fdc71e9e7a06f55020c229c4 - 2.94% (2.97 MB)

[#005] sha256:fd21b16f61ccc2b1e279211ab910203a5563e4b073cc53a76d1062a7d853b5dc - 52.68% (53.2 MB)

[#006] sha256:de6c54cd9e78665b31121cfc8203d1b12ab8e77bdd73ba54ecd47cbe670123cc - 9.67% (9.76 MB)

[#007] sha256:ee00d2c107c34a7d4e550266b73b8c1c221dafef1a5689aa3d284b9dcf38178a - 19.21% (19.4 MB)

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


History
2023-12-01 02:03:44 UTC

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

2023-12-01 02:03:44 UTC

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.11.7

2023-12-04 22:49:21 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-12-04 22:49:21 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-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.2.1

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

2023-12-04 22:49:21 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-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-01-18 04:01:34 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2024-01-18 04:01:34 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2024-01-18 04:01:34 UTC (buildkit.dockerfile.v0)

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

2024-01-18 04:01:34 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=develop

2024-01-18 04:01: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=v2.17.0

2024-01-18 04:01:34 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.17.0 /bin/sh -c set -x && 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 unzip 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] pm2 tsx && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm # buildkit

2024-01-18 04:01:34 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT

2024-01-18 05:54:29 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.17.0 SOURCE_COMMIT=c083d2f4d1f4052255c6bf9b241955e79e742f8a /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-01-18 05:54:36 UTC (buildkit.dockerfile.v0)

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

2024-01-18 05:54:36 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2024-01-18 05:54:36 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-01-18 05:54:36 UTC (buildkit.dockerfile.v0)

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

Details
Created

2024-01-18 05:54:36 UTC

Size

102 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2024-01-18T05:53:44.825Z
  • 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
    c083d2f4d1f4052255c6bf9b241955e79e742f8a
  • 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.17.0

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

9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/4cfa4081d27285bda1220a62a5ebf5b4bd749cdb/public/get-pip.py

PYTHON_PIP_VERSION

23.2.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.11.7

QL_BRANCH

v2.17.0

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:c926b61bad3b94ae7351bafd0c184c159ebf0643b085f7ef1d47ecdc7316833c - 3.19% (3.24 MB)

[#001] sha256:5363d7c7ad3a7983ab3c7d72572f8e9abe624da19a7d1f5047d5896858545b35 - 0.58% (608 KB)

[#002] sha256:998ab7321685b9e7c68462621b44832ae567fb83a1ddbda39f86f7ec1984f790 - 11.7% (11.9 MB)

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

[#004] sha256:483db0ae1128789a1ed65dc18b3a00a9b7a1ea89755be567bc156de3f4fea4ad - 2.92% (2.97 MB)

[#005] sha256:1224e6a493c52537f7a824206e66f2fd2d5858859d54e2c39a2758421238e57b - 52.93% (53.8 MB)

[#006] sha256:eb2b5d43b25dcd78f8958b3898dface526b7e00d0d0a59175f0d2b41cff393c9 - 9.61% (9.76 MB)

[#007] sha256:de7da44f1a9c8759b9a0399326f0943782f2f08b7979923513e621ae280dd0bd - 19.07% (19.4 MB)

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


History
2023-11-30 23:22:52 UTC

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

2023-11-30 23:22:52 UTC

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.11.7

2023-12-04 22:49:21 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-12-04 22:49:21 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-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.2.1

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

2023-12-04 22:49:21 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-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-01-18 04:01:34 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2024-01-18 04:01:34 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2024-01-18 04:01:34 UTC (buildkit.dockerfile.v0)

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

2024-01-18 04:01:34 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=develop

2024-01-18 04:01: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=v2.17.0

2024-01-18 04:01:34 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.17.0 /bin/sh -c set -x && 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 unzip 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] pm2 tsx && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm # buildkit

2024-01-18 04:01:34 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT

2024-01-18 05:54:29 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.17.0 SOURCE_COMMIT=c083d2f4d1f4052255c6bf9b241955e79e742f8a /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-01-18 05:54:35 UTC (buildkit.dockerfile.v0)

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

2024-01-18 05:54:36 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2024-01-18 05:54:36 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-01-18 05:54:36 UTC (buildkit.dockerfile.v0)

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

Details
Created

2024-01-18 05:54:36 UTC

Size

98.8 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2024-01-18T05:53:44.825Z
  • 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
    c083d2f4d1f4052255c6bf9b241955e79e742f8a
  • 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.17.0

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

9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/4cfa4081d27285bda1220a62a5ebf5b4bd749cdb/public/get-pip.py

PYTHON_PIP_VERSION

23.2.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.11.7

QL_BRANCH

v2.17.0

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:85ae953f9e6740471d4e1440b27721679dc7a511e112eb73df467a4cde26e421 - 3.04% (3 MB)

[#001] sha256:279ddce74df1089fd8408c1df4817404bf1429d5e1c26eba71dbe75693396243 - 0.6% (608 KB)

[#002] sha256:79c7ecd45229db25459bb8ec9639cea114d89d19494fe51010ac09ecc18b2734 - 11.7% (11.6 MB)

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

[#004] sha256:caacffca49ae8668e2618afdb4ffc68b47d217aba3bfab53f6e5bcee1e0c89dc - 3.0% (2.97 MB)

[#005] sha256:cdb379e767d3149ae5a0828303f3219c6dd38add490400c49e9c0d415f163d64 - 52.21% (51.6 MB)

[#006] sha256:765870004eb9d0b65b22c137326e913ae42d52ea5f7c0bb3f1674676c711bed3 - 9.89% (9.76 MB)

[#007] sha256:ad8476edd421ebdb93523212a2ced4104e0d56e079f240e861e85ad4a61c7dde - 19.56% (19.3 MB)

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


History
2023-11-30 22:49:18 UTC

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

2023-11-30 22:49:18 UTC

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.11.7

2023-12-04 22:49:21 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-12-04 22:49:21 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-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.2.1

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

2023-12-04 22:49:21 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-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-01-18 04:03:12 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2024-01-18 04:03:12 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2024-01-18 04:03:12 UTC (buildkit.dockerfile.v0)

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

2024-01-18 04:03:12 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=develop

2024-01-18 04:03:12 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.17.0

2024-01-18 04:03:12 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.17.0 /bin/sh -c set -x && 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 unzip 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] pm2 tsx && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm # buildkit

2024-01-18 04:03:12 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT

2024-01-18 05:54:29 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.17.0 SOURCE_COMMIT=c083d2f4d1f4052255c6bf9b241955e79e742f8a /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-01-18 05:54:35 UTC (buildkit.dockerfile.v0)

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

2024-01-18 05:54:36 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2024-01-18 05:54:36 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-01-18 05:54:36 UTC (buildkit.dockerfile.v0)

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

Details
Created

2024-01-18 05:54:37 UTC

Size

96.9 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2024-01-18T05:53:44.825Z
  • 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
    c083d2f4d1f4052255c6bf9b241955e79e742f8a
  • 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.17.0

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

9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/4cfa4081d27285bda1220a62a5ebf5b4bd749cdb/public/get-pip.py

PYTHON_PIP_VERSION

23.2.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.11.7

QL_BRANCH

v2.17.0

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:2387a44129d2147bd4e806bf369f3db92eb3ad3b6b8825c739db364b8baa4e26 - 2.85% (2.77 MB)

[#001] sha256:ad6a3a8c72a8c1864813c622206dfebfe27ffe4515ca4764f1a5863c084c385a - 0.61% (607 KB)

[#002] sha256:84b650cfbc852e0ae95c647dff29dc3ef52b19edb1ace2759ca5cc4a0e1e6c96 - 11.46% (11.1 MB)

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

[#004] sha256:fa6ca41561d8c05200c53c1e71d72eb875b77e7e6be9c03d8224186610a882fa - 3.06% (2.97 MB)

[#005] sha256:77a79f0c9263472620ac0c469588c069d830aa2a3c6e46f0012efe7361104f43 - 52.0% (50.4 MB)

[#006] sha256:c233a01443469bedca4be7b0bd63f7906cb3e4f3a5a30cc10a2483832caa7df9 - 10.08% (9.76 MB)

[#007] sha256:c2e0c3368eb23cb5ffe022a6ffe67860f57f2fd25dd43933ee8473919038ee28 - 19.93% (19.3 MB)

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


History
2023-11-30 22:49:28 UTC

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

2023-11-30 22:49:29 UTC

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.11.7

2023-12-04 22:49:21 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-12-04 22:49:21 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-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.2.1

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

2023-12-04 22:49:21 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-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-01-18 04:03:14 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2024-01-18 04:03:14 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2024-01-18 04:03:14 UTC (buildkit.dockerfile.v0)

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

2024-01-18 04:03:14 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=develop

2024-01-18 04:03:14 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.17.0

2024-01-18 04:03:14 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.17.0 /bin/sh -c set -x && 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 unzip 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] pm2 tsx && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm # buildkit

2024-01-18 04:03:14 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT

2024-01-18 05:54:34 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.17.0 SOURCE_COMMIT=c083d2f4d1f4052255c6bf9b241955e79e742f8a /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-01-18 05:54:36 UTC (buildkit.dockerfile.v0)

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

2024-01-18 05:54:37 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2024-01-18 05:54:37 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-01-18 05:54:37 UTC (buildkit.dockerfile.v0)

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

Details
Created

2024-01-18 05:54:37 UTC

Size

101 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2024-01-18T05:53:44.825Z
  • 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
    c083d2f4d1f4052255c6bf9b241955e79e742f8a
  • 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.17.0

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

9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/4cfa4081d27285bda1220a62a5ebf5b4bd749cdb/public/get-pip.py

PYTHON_PIP_VERSION

23.2.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.11.7

QL_BRANCH

v2.17.0

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 - 3.13% (3.18 MB)

[#001] sha256:f7687c947765812cb62b6294a5779d27f0df3310e38c77b4524b2be89bd39260 - 0.59% (610 KB)

[#002] sha256:04496bdb510c96ff8bdfeaf5b75d3e57e58979ce419a8c36b5eb7f3f1f7895e7 - 11.81% (12 MB)

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

[#004] sha256:314673dfe8912c60db5b9b0430250a65edf3082505c959964cf7679f6b5a326b - 2.92% (2.97 MB)

[#005] sha256:0db03ea5a22f082e13710c86e5e03cf6e9fe5fa25ec4477f81bc09ebd8f58ed0 - 52.85% (53.6 MB)

[#006] sha256:60e2620834cc054748aa206fceae2f6460e649b0d670b659e5be4ba3eafeef46 - 9.63% (9.76 MB)

[#007] sha256:38ae4304512e32364f585f8671b38875e6809bb71a9953b45a6b3cb5087283a9 - 19.07% (19.3 MB)

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


History
2023-11-30 23:11:03 UTC

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

2023-11-30 23:11:03 UTC

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.11.7

2023-12-04 22:49:21 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-12-04 22:49:21 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-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.2.1

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

2023-12-04 22:49:21 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-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-01-18 04:03:25 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2024-01-18 04:03:25 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2024-01-18 04:03:25 UTC (buildkit.dockerfile.v0)

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

2024-01-18 04:03:25 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=develop

2024-01-18 04:03:25 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.17.0

2024-01-18 04:03:25 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.17.0 /bin/sh -c set -x && 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 unzip 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] pm2 tsx && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm # buildkit

2024-01-18 04:03:25 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT

2024-01-18 05:54:34 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.17.0 SOURCE_COMMIT=c083d2f4d1f4052255c6bf9b241955e79e742f8a /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-01-18 05:54:36 UTC (buildkit.dockerfile.v0)

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

2024-01-18 05:54:37 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2024-01-18 05:54:37 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-01-18 05:54:37 UTC (buildkit.dockerfile.v0)

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

Details
Created

2024-01-18 05:54:36 UTC

Size

103 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2024-01-18T05:53:44.825Z
  • 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
    c083d2f4d1f4052255c6bf9b241955e79e742f8a
  • 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.17.0

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

9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/4cfa4081d27285bda1220a62a5ebf5b4bd749cdb/public/get-pip.py

PYTHON_PIP_VERSION

23.2.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.11.7

QL_BRANCH

v2.17.0

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:4e13780adf2776477b14ef9c0f4f563f820a2fde166d472218037b979e84d31a - 3.11% (3.19 MB)

[#001] sha256:c450107b1f651e0d5357ddca15f10b7fe2195f41771b1c55d96c62001069b127 - 0.58% (610 KB)

[#002] sha256:d95f71dbc2cd11ed25d7657207629bf6ca70ceb997bfebae5560311f24fd6f6b - 11.94% (12.3 MB)

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

[#004] sha256:a1fed9a873bde074a7a5e58e02cded885150f1b93de3b7c0f07bc53adf94c9a5 - 2.89% (2.97 MB)

[#005] sha256:661e4a6b91f503883603df6912bd434805344ea092c92aa2bbb1a0a743e9ee2e - 52.95% (54.4 MB)

[#006] sha256:676766ef9f6f77f0d13b358562276851b388540b94330091b73a8df1077acefc - 9.51% (9.76 MB)

[#007] sha256:97f1d22f6a74a9a1c3256c575d1b5b0408deb8999a0b54ada5d5a58f52490df7 - 19.03% (19.5 MB)

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


History
2023-11-30 23:19:04 UTC

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

2023-11-30 23:19:05 UTC

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.11.7

2023-12-04 22:49:21 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-12-04 22:49:21 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-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.2.1

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

2023-12-04 22:49:21 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-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-01-18 04:03:05 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2024-01-18 04:03:05 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2024-01-18 04:03:05 UTC (buildkit.dockerfile.v0)

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

2024-01-18 04:03:05 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=develop

2024-01-18 04:03: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.17.0

2024-01-18 04:03:05 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.17.0 /bin/sh -c set -x && 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 unzip 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] pm2 tsx && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm # buildkit

2024-01-18 04:03:05 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT

2024-01-18 05:54:32 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.17.0 SOURCE_COMMIT=c083d2f4d1f4052255c6bf9b241955e79e742f8a /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-01-18 05:54:36 UTC (buildkit.dockerfile.v0)

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

2024-01-18 05:54:36 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2024-01-18 05:54:36 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-01-18 05:54:36 UTC (buildkit.dockerfile.v0)

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

Details
Created

2024-01-18 05:54:38 UTC

Size

102 MB

Content Digest
Labels
  • maintainer
    whyour
  • org.opencontainers.image.created
    2024-01-18T05:53:44.825Z
  • 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
    c083d2f4d1f4052255c6bf9b241955e79e742f8a
  • 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.17.0

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

9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/4cfa4081d27285bda1220a62a5ebf5b4bd749cdb/public/get-pip.py

PYTHON_PIP_VERSION

23.2.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.11.7

QL_BRANCH

v2.17.0

QL_DIR

/ql

SHELL

/bin/bash


Layers

[#000] sha256:2ea477e1c0c3db3337ee1d7c659f8c465021a65c036998ed3fa3b667d4b30153 - 3.02% (3.07 MB)

[#001] sha256:607af03b9a228e95db0cdffe1efee657c6cfa8771fb312b60948c7b142bfb77a - 0.58% (608 KB)

[#002] sha256:5aca7aca3c6b20ceb33417d0f93d6faba28397b85c100887737bc969f39cd1e1 - 11.78% (12 MB)

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

[#004] sha256:c6da3a6e9567aadf812ce6844402d7934d2f1ecb32f05e7761baac45014aad02 - 2.92% (2.97 MB)

[#005] sha256:0fba25c20591ee346e57f1f82df69c9e062429240df0d82170d31df2ecb3f9cc - 53.1% (54 MB)

[#006] sha256:5790a157ac1b02c6359b965d4646bc2dfe8c41bc3dc9f8a54d69fd90f0fb0a34 - 9.6% (9.76 MB)

[#007] sha256:99d1885ea0345b1061190ffdf890cad563f579d0ec9f2e7338d207f7822b1efe - 19.01% (19.3 MB)

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


History
2023-11-30 22:42:08 UTC

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

2023-11-30 22:42:09 UTC

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.11.7

2023-12-04 22:49:21 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-12-04 22:49:21 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-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.2.1

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

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

2023-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

2023-12-04 22:49:21 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-12-04 22:49:21 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-01-18 04:03:36 UTC (buildkit.dockerfile.v0)

ARG QL_MAINTAINER=whyour

2024-01-18 04:03:36 UTC (buildkit.dockerfile.v0)

LABEL maintainer=whyour

2024-01-18 04:03:36 UTC (buildkit.dockerfile.v0)

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

2024-01-18 04:03:36 UTC (buildkit.dockerfile.v0)

ARG QL_BRANCH=develop

2024-01-18 04:03:36 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.17.0

2024-01-18 04:03:36 UTC (buildkit.dockerfile.v0)

RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.17.0 /bin/sh -c set -x && 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 unzip 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] pm2 tsx && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && rm -rf /root/.npm # buildkit

2024-01-18 04:03:36 UTC (buildkit.dockerfile.v0)

ARG SOURCE_COMMIT

2024-01-18 05:54:37 UTC (buildkit.dockerfile.v0)

RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=v2.17.0 SOURCE_COMMIT=c083d2f4d1f4052255c6bf9b241955e79e742f8a /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-01-18 05:54:38 UTC (buildkit.dockerfile.v0)

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

2024-01-18 05:54:38 UTC (buildkit.dockerfile.v0)

WORKDIR /ql

2024-01-18 05:54:38 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-01-18 05:54:38 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