2024-07-28 10:43:13 UTC
104 MB
A035C8C19219BA821ECEA86B64E628F8D684696D
LANGC.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_SHA256ee09098395e42eb1f82ef4acb231a767a6ae85504a9cf9983223df0a7cbd35d7
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/e03e1607ad60522cf34a92e834138eb89f57667c/public/get-pip.py
PYTHON_PIP_VERSION24.0
PYTHON_SETUPTOOLS_VERSION65.5.1
PYTHON_VERSION3.11.9
QL_BRANCHmaster
QL_DIR/ql
SHELL/bin/bash
[#000] sha256:c6a83fedfae6ed8a4f5f7cbb6a7b6f1c1ec3d86fea8cb9e5ba2e5e6673fde9f6 - 3.33% (3.46 MB)
[#001] sha256:7ee56b2bb681231de28a0b9ef07f6b2cc88281aae9eb609811ffeb0be2aee4d7 - 0.42% (451 KB)
[#002] sha256:bed00986c027d83e0da7822f5b24acbbd8839f0a0d113b50fbb3b09c2a44d1c7 - 11.65% (12.1 MB)
[#003] sha256:d3cc4ee895667bf789d843fcfda3fcbc91247f09f2beac68174d743dc2b765f1 - 0.0% (229 Bytes)
[#004] sha256:d3f60bffdf79a467e4b3580b524120f7ebb3e0fd9c164464149eb6c68032dd7d - 2.88% (2.99 MB)
[#005] sha256:28c9ddff28cb3c43d322bc85707f513b5a477f220d836b5cf6c689a1068597b3 - 11.99% (12.4 MB)
[#006] sha256:a81740c890a23fe01e8cdcd2c324f0330b8f450360cf0e1b927fdad17d80c815 - 0.0% (3.87 KB)
[#007] sha256:2d67e466e98759dbeb32da46ce1a7f1aec18407512a45463d9f05dead94ca270 - 41.63% (43.2 MB)
[#008] sha256:acece387cf519707c7161c26537831e80687b66874e95fc52b5ce29755dfb2e6 - 9.49% (9.85 MB)
[#009] sha256:69e9c9ef4c075ea5dc1bbbb296fc9ed7d8c9e24091246ee3d36c5c08041afc4c - 18.61% (19.3 MB)
[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ADD file:99093095d62d0421541d882f9ceeddb2981fe701ec0aa9d2c08480712d5fed21 in /
2024-07-07 22:31:37 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2024-07-07 22:31:37 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-07-07 22:31:37 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-07-07 22:31:37 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit
2024-07-07 22:31:37 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2024-07-07 22:31:37 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.11.9
2024-07-07 22:31:37 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 $(test "$gnuArch" != 'riscv64-linux-musl' && echo '--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
2024-07-07 22:31:37 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
2024-07-07 22:31:37 UTC (buildkit.dockerfile.v0)ENV PYTHON_PIP_VERSION=24.0
2024-07-07 22:31:37 UTC (buildkit.dockerfile.v0)ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
2024-07-07 22:31:37 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/e03e1607ad60522cf34a92e834138eb89f57667c/public/get-pip.py
2024-07-07 22:31:37 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_SHA256=ee09098395e42eb1f82ef4acb231a767a6ae85504a9cf9983223df0a7cbd35d7
2024-07-07 22:31:37 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
2024-07-07 22:31:37 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2024-07-24 13:58:39 UTC (buildkit.dockerfile.v0)ARG QL_MAINTAINER=whyour
2024-07-24 13:58:39 UTC (buildkit.dockerfile.v0)LABEL maintainer=whyour
2024-07-24 13:58:39 UTC (buildkit.dockerfile.v0)ARG QL_URL=https://github.com/whyour/qinglong.git
2024-07-24 13:58:39 UTC (buildkit.dockerfile.v0)ARG QL_BRANCH=master
2024-07-24 13:58:39 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=master
2024-07-24 13:58:39 UTC (buildkit.dockerfile.v0)VOLUME [/ql/data]
2024-07-24 13:58:39 UTC (buildkit.dockerfile.v0)EXPOSE map[5700/tcp:{}]
2024-07-24 13:58:39 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/node_modules/. /usr/local/lib/node_modules/ # buildkit
2024-07-24 13:58:39 UTC (buildkit.dockerfile.v0)COPY /usr/local/bin/. /usr/local/bin/ # buildkit
2024-07-28 10:43:07 UTC (buildkit.dockerfile.v0)RUN |3 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=master /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 && rm -rf /root/.pnpm-store && rm -rf /root/.local/share/pnpm/store && rm -rf /root/.cache && ulimit -c 0 # buildkit
2024-07-28 10:43:07 UTC (buildkit.dockerfile.v0)ARG SOURCE_COMMIT=a743aa8115423f365ef876ed512f4b6ed9639991
2024-07-28 10:43:11 UTC (buildkit.dockerfile.v0)RUN |4 QL_MAINTAINER=whyour QL_URL=https://github.com/whyour/qinglong.git QL_BRANCH=master SOURCE_COMMIT=a743aa8115423f365ef876ed512f4b6ed9639991 /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-07-28 10:43:13 UTC (buildkit.dockerfile.v0)COPY /tmp/build/node_modules/. /ql/node_modules/ # buildkit
2024-07-28 10:43:13 UTC (buildkit.dockerfile.v0)WORKDIR /ql
2024-07-28 10:43:13 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-07-28 10:43:13 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["./docker/docker-entrypoint.sh"]
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.