Namespace
a76yyyy
Image / Tag
qiandao:20211204
Content Digest
sha256:11123d87d38a4b30e22c4e859d31974c61e09dfa0a078b6c3e2cb0ba76f9be99
Details
Created

2021-12-05 11:33:19 UTC

Size

170 MB

Content Digest
Labels
  • maintainer
    a76yyyy <q981331502@163.com>

Environment
CURL_VERSION

7.80.0

GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PORT

80

PYCURL_SSL_LIBRARY

openssl

PYTHON_GET_PIP_SHA256

c518250e91a70d7b20cceb15272209a4ded2a0c263ae5776f129e0d9b5674309

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/3cb8888cc2869620f57d5d2da64da38f516078c7/public/get-pip.py

PYTHON_PIP_VERSION

21.2.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.12

TZ

CST-8


Layers

[#000] sha256:5420e0d28c84ecb16748cb90cc6acf8e2a81dab10cb1f674f3eee8533e53c62a - 1.58% (2.7 MB)

[#001] sha256:1a868b05e11ba9eef9795d57a853d5fc28e2feebfd192b906e0b643a697e8d18 - 0.16% (276 KB)

[#002] sha256:5c7251c15efc8aa8928373423d5df85193137950dd22fb28a204d99ee74e42d4 - 6.4% (10.9 MB)

[#003] sha256:34d98e1e647fd61d16ccf1df209b0ead70fe2ad989b3d893c4c750f662ec8484 - 0.0% (231 Bytes)

[#004] sha256:8c969876f7518cf7e05043e30d6a6bf1607f06da79fbc1f65a41049983bd1c88 - 1.31% (2.24 MB)

[#005] sha256:435ec92302155ed401faac16cd9885c660883862762cd108fc8975c05b0f61ab - 0.0% (235 Bytes)

[#006] sha256:74a625e841022845f21930878d6ee6f10c51d73202bcafd32607de345e5faaa4 - 52.79% (90 MB)

[#007] sha256:1bebb752ecc6863300fbd232bab0432ddd9ce550bec380740bebd5b89c3517e4 - 4.15% (7.08 MB)

[#008] sha256:473d9e96da57d0fd0d45632e5121066654111fecaec394fd58a999021b0a001f - 3.09% (5.27 MB)

[#009] sha256:efcb49aa944d4c052421b9e89a6605ccea52d65df54614b01ed15123d3f1d3a3 - 6.99% (11.9 MB)

[#010] sha256:b555fd85dca99b80c3725603fc5a2cdc61549bdb0f5f43bf9eb1b9b780e41d50 - 0.0% (3.04 KB)

[#011] sha256:cbb7199e533eb8552a8676f6926676e6c61da36f18d52539eb083cbb8d997a6a - 18.65% (31.8 MB)

[#012] sha256:f2c9f16ece1aa9ef75b904143b272b8ebd91e660f66bb30e7749991f8e21d7e2 - 4.87% (8.3 MB)


History
2021-11-12 16:38:42 UTC

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

2021-11-12 16:38:42 UTC

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

2021-11-12 21:35:44 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2021-11-12 21:35:45 UTC

/bin/sh -c #(nop) ENV LANG=C.UTF-8

2021-11-12 22:50:07 UTC

/bin/sh -c set -eux; apk add --no-cache ca-certificates ;

2021-11-12 22:50:07 UTC

/bin/sh -c #(nop) ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2021-11-12 22:50:08 UTC

/bin/sh -c #(nop) ENV PYTHON_VERSION=3.8.12

2021-11-12 22:56:46 UTC

/bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps gnupg tar xz && 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" && export GNUPGHOME="$(mktemp -d)" && gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY" && gpg --batch --verify python.tar.xz.asc python.tar.xz && { command -v gpgconf > /dev/null && gpgconf --kill all || :; } && rm -rf "$GNUPGHOME" python.tar.xz.asc && mkdir -p /usr/src/python && tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz && rm python.tar.xz && apk add --no-cache --virtual .build-deps bluez-dev bzip2-dev coreutils 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 && apk del --no-network .fetch-deps && 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-system-expat --with-system-ffi --without-ensurepip && make -j "$(nproc)" EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" LDFLAGS="-Wl,--strip-all" && make install && 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 '*.a' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -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-cache --virtual .python-rundeps && apk del --no-network .build-deps && python3 --version

2021-11-12 22:56:47 UTC

/bin/sh -c cd /usr/local/bin && ln -s idle3 idle && ln -s pydoc3 pydoc && ln -s python3 python && ln -s python3-config python-config

2021-11-12 22:56:47 UTC

/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=21.2.4

2021-11-12 22:56:47 UTC

/bin/sh -c #(nop) ENV PYTHON_SETUPTOOLS_VERSION=57.5.0

2021-11-12 22:56:48 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/3cb8888cc2869620f57d5d2da64da38f516078c7/public/get-pip.py

2021-11-12 22:56:48 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=c518250e91a70d7b20cceb15272209a4ded2a0c263ae5776f129e0d9b5674309

2021-11-12 22:56:55 UTC

/bin/sh -c set -ex; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; python get-pip.py --disable-pip-version-check --no-cache-dir "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; pip --version; 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' \) \) \) -exec rm -rf '{}' +; rm -f get-pip.py

2021-11-12 22:56:55 UTC

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

2021-11-15 13:13:18 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2021-11-15 13:13:18 UTC (buildkit.dockerfile.v0)

ENV PYCURL_SSL_LIBRARY=openssl

2021-11-15 13:13:18 UTC (buildkit.dockerfile.v0)

ENV CURL_VERSION=7.80.0

2021-11-15 13:13:18 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >>/etc/apk/repositories # buildkit

2021-11-15 13:13:55 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk update && apk add --update --no-cache openrc redis bash git autoconf g++ tzdata nano openssh-client automake nghttp2-dev ca-certificates zlib zlib-dev brotli brotli-dev zstd zstd-dev linux-headers libtool util-linux file # buildkit

2021-11-15 13:31:01 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c file /bin/busybox && [[ $(getconf LONG_BIT) = "32" && -z $(file /bin/busybox | grep "arm") ]] && configtmp="setarch i386 ./config -m32" || configtmp="./config " && apk add --update --no-cache --virtual curldeps make perl && wget https://curl.se/download/curl-$CURL_VERSION.tar.bz2 && git clone --depth 1 -b OpenSSL_1_1_1l+quic https://github.com/quictls/openssl && git clone https://github.com/ngtcp2/nghttp3 && git clone https://github.com/ngtcp2/ngtcp2 && cd openssl && echo $configtmp enable-tls1_3 --prefix=/usr && $configtmp enable-tls1_3 --prefix=/usr && make && make install_sw && cd .. && rm -r openssl && cd nghttp3 && autoreconf -i && ./configure --prefix=/usr --enable-lib-only && make && make install && cd .. && rm -r nghttp3 && cd ngtcp2 && autoreconf -i && ./configure PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib/pkgconfig LDFLAGS="-Wl,-rpath,/usr/lib" --prefix=/usr --enable-lib-only && make && make install && cd .. && rm -r ngtcp2 && tar xjvf curl-$CURL_VERSION.tar.bz2 && rm curl-$CURL_VERSION.tar.bz2 && cd curl-$CURL_VERSION && ./buildconf && LDFLAGS="-Wl,-rpath,/usr/lib" ./configure --with-openssl=/usr --with-nghttp2=/usr --with-nghttp3=/usr --with-ngtcp2=/usr --prefix=/usr --enable-ipv6 --enable-unix-sockets --without-libidn --disable-static --disable-ldap --with-pic && make && make install && cd .. && rm -r curl-$CURL_VERSION && apk del curldeps # buildkit

2021-11-15 13:31:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pip install --upgrade setuptools && pip install --upgrade wheel && pip install pycurl && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2021-12-05 11:30:56 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2021-12-05 11:30:56 UTC (buildkit.dockerfile.v0)

ADD . /usr/src/app # buildkit

2021-12-05 11:30:56 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2021-12-05 11:30:56 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c rc-status -a && echo -e '#!/bin/sh \nredis-server /etc/redis.conf' > /etc/local.d/redis.start && chmod +x /etc/local.d/redis.start && rc-update add local && rc-status -a # buildkit

2021-12-05 11:30:57 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /root/.ssh && cp -f ssh/qiandao_fetch /root/.ssh/id_rsa && cp -f ssh/qiandao_fetch.pub /root/.ssh/id_rsa.pub && chmod 600 /root/.ssh/id_rsa && ssh-keyscan gitee.com > /root/.ssh/known_hosts && let num=$RANDOM%100+10 && sleep $num && git clone git@gitee.com:a76yyyy/qiandao.git /gitclone_tmp && yes | cp -rf /gitclone_tmp/. /usr/src/app && chmod +x /usr/src/app/update.sh && ln -s /usr/src/app/update.sh /bin/update # buildkit

2021-12-05 11:33:19 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pip install --upgrade setuptools && pip install --no-cache-dir -r requirements.txt && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2021-12-05 11:33:19 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2021-12-05 11:33:19 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2021-12-05 11:33:19 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2021-12-05 11:33:19 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/ /data]

2021-12-05 11:33:19 UTC (buildkit.dockerfile.v0)

CMD ["sh" "-c" "redis-server --daemonize yes && python /usr/src/app/run.py"]

Details
Created

2021-12-05 11:31:37 UTC

Size

170 MB

Content Digest
Labels
  • maintainer
    a76yyyy <q981331502@163.com>

Environment
CURL_VERSION

7.80.0

GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PORT

80

PYCURL_SSL_LIBRARY

openssl

PYTHON_GET_PIP_SHA256

c518250e91a70d7b20cceb15272209a4ded2a0c263ae5776f129e0d9b5674309

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/3cb8888cc2869620f57d5d2da64da38f516078c7/public/get-pip.py

PYTHON_PIP_VERSION

21.2.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.12

TZ

CST-8


Layers

[#000] sha256:97518928ae5f3d52d4164b314a7e73654eb686ecd8aafa0b79acd980773a740d - 1.58% (2.69 MB)

[#001] sha256:8f1c01f59fcc7f7c93b7819b80102de4622e5b448ebf68120a07bc88366cc08a - 0.16% (275 KB)

[#002] sha256:2ff57dacc9b2e5b45a9520394c6c64071f30bc19f5a2436f8df7eb7916b89b85 - 6.3% (10.7 MB)

[#003] sha256:84a883406ff56fddb97ebd1ae0bfad837af6f13cbb11a623636822dc48b57123 - 0.0% (229 Bytes)

[#004] sha256:e48d66fa9d87870657ad21d9c86bd69e614143903657983169300845c0498019 - 1.32% (2.24 MB)

[#005] sha256:435ec92302155ed401faac16cd9885c660883862762cd108fc8975c05b0f61ab - 0.0% (235 Bytes)

[#006] sha256:4042e297208ae80038adfcf6c2f4f5cc3b7246e13bcb420ab72c1d97e66ef172 - 52.89% (90 MB)

[#007] sha256:6ba6eac3e41a5f3100d288145627f16395a289b5703adfb8187b72780b532d16 - 4.11% (7 MB)

[#008] sha256:7fcb788ed619c77ce1aa1a3549e612067a469fbec403c7f08b81b5f30a914cf8 - 3.09% (5.26 MB)

[#009] sha256:fda3ac2d3e59668ca49ff5ee97daa74aabc794733fb72a1f0ec9833d7c06183b - 7.0% (11.9 MB)

[#010] sha256:c9405a37fe11f282f71f0245ac92be2776e82b1f94480780675ad3f53c352f2c - 0.0% (3.04 KB)

[#011] sha256:58ba4e7704c9ff4cdf5ed2a969a7abc9f70307b8c95b5d92ac83e38c426680c0 - 18.68% (31.8 MB)

[#012] sha256:b84aa0fde5ff40c1b49c40463bbe63e20bafd172e09c4897d7e0936a4657bb61 - 4.86% (8.27 MB)


History
2021-11-12 17:19:44 UTC

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

2021-11-12 17:19:45 UTC

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

2021-11-12 23:58:30 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2021-11-13 02:36:52 UTC

/bin/sh -c #(nop) ENV LANG=C.UTF-8

2021-11-13 04:03:25 UTC

/bin/sh -c set -eux; apk add --no-cache ca-certificates ;

2021-11-13 04:03:26 UTC

/bin/sh -c #(nop) ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2021-11-13 04:03:26 UTC

/bin/sh -c #(nop) ENV PYTHON_VERSION=3.8.12

2021-11-13 04:09:32 UTC

/bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps gnupg tar xz && 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" && export GNUPGHOME="$(mktemp -d)" && gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY" && gpg --batch --verify python.tar.xz.asc python.tar.xz && { command -v gpgconf > /dev/null && gpgconf --kill all || :; } && rm -rf "$GNUPGHOME" python.tar.xz.asc && mkdir -p /usr/src/python && tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz && rm python.tar.xz && apk add --no-cache --virtual .build-deps bluez-dev bzip2-dev coreutils 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 && apk del --no-network .fetch-deps && 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-system-expat --with-system-ffi --without-ensurepip && make -j "$(nproc)" EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" LDFLAGS="-Wl,--strip-all" && make install && 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 '*.a' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -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-cache --virtual .python-rundeps && apk del --no-network .build-deps && python3 --version

2021-11-13 04:09:33 UTC

/bin/sh -c cd /usr/local/bin && ln -s idle3 idle && ln -s pydoc3 pydoc && ln -s python3 python && ln -s python3-config python-config

2021-11-13 04:09:33 UTC

/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=21.2.4

2021-11-13 04:09:33 UTC

/bin/sh -c #(nop) ENV PYTHON_SETUPTOOLS_VERSION=57.5.0

2021-11-13 04:09:34 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/3cb8888cc2869620f57d5d2da64da38f516078c7/public/get-pip.py

2021-11-13 04:09:34 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=c518250e91a70d7b20cceb15272209a4ded2a0c263ae5776f129e0d9b5674309

2021-11-13 04:09:40 UTC

/bin/sh -c set -ex; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; python get-pip.py --disable-pip-version-check --no-cache-dir "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; pip --version; 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' \) \) \) -exec rm -rf '{}' +; rm -f get-pip.py

2021-11-13 04:09:41 UTC

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

2021-11-15 13:13:18 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2021-11-15 13:13:18 UTC (buildkit.dockerfile.v0)

ENV PYCURL_SSL_LIBRARY=openssl

2021-11-15 13:13:18 UTC (buildkit.dockerfile.v0)

ENV CURL_VERSION=7.80.0

2021-11-15 13:13:18 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >>/etc/apk/repositories # buildkit

2021-11-15 13:13:52 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk update && apk add --update --no-cache openrc redis bash git autoconf g++ tzdata nano openssh-client automake nghttp2-dev ca-certificates zlib zlib-dev brotli brotli-dev zstd zstd-dev linux-headers libtool util-linux file # buildkit

2021-11-15 13:30:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c file /bin/busybox && [[ $(getconf LONG_BIT) = "32" && -z $(file /bin/busybox | grep "arm") ]] && configtmp="setarch i386 ./config -m32" || configtmp="./config " && apk add --update --no-cache --virtual curldeps make perl && wget https://curl.se/download/curl-$CURL_VERSION.tar.bz2 && git clone --depth 1 -b OpenSSL_1_1_1l+quic https://github.com/quictls/openssl && git clone https://github.com/ngtcp2/nghttp3 && git clone https://github.com/ngtcp2/ngtcp2 && cd openssl && echo $configtmp enable-tls1_3 --prefix=/usr && $configtmp enable-tls1_3 --prefix=/usr && make && make install_sw && cd .. && rm -r openssl && cd nghttp3 && autoreconf -i && ./configure --prefix=/usr --enable-lib-only && make && make install && cd .. && rm -r nghttp3 && cd ngtcp2 && autoreconf -i && ./configure PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib/pkgconfig LDFLAGS="-Wl,-rpath,/usr/lib" --prefix=/usr --enable-lib-only && make && make install && cd .. && rm -r ngtcp2 && tar xjvf curl-$CURL_VERSION.tar.bz2 && rm curl-$CURL_VERSION.tar.bz2 && cd curl-$CURL_VERSION && ./buildconf && LDFLAGS="-Wl,-rpath,/usr/lib" ./configure --with-openssl=/usr --with-nghttp2=/usr --with-nghttp3=/usr --with-ngtcp2=/usr --prefix=/usr --enable-ipv6 --enable-unix-sockets --without-libidn --disable-static --disable-ldap --with-pic && make && make install && cd .. && rm -r curl-$CURL_VERSION && apk del curldeps # buildkit

2021-11-15 13:31:06 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pip install --upgrade setuptools && pip install --upgrade wheel && pip install pycurl && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2021-12-05 11:30:57 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2021-12-05 11:30:57 UTC (buildkit.dockerfile.v0)

ADD . /usr/src/app # buildkit

2021-12-05 11:30:57 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2021-12-05 11:30:57 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c rc-status -a && echo -e '#!/bin/sh \nredis-server /etc/redis.conf' > /etc/local.d/redis.start && chmod +x /etc/local.d/redis.start && rc-update add local && rc-status -a # buildkit

2021-12-05 11:30:57 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /root/.ssh && cp -f ssh/qiandao_fetch /root/.ssh/id_rsa && cp -f ssh/qiandao_fetch.pub /root/.ssh/id_rsa.pub && chmod 600 /root/.ssh/id_rsa && ssh-keyscan gitee.com > /root/.ssh/known_hosts && let num=$RANDOM%100+10 && sleep $num && git clone git@gitee.com:a76yyyy/qiandao.git /gitclone_tmp && yes | cp -rf /gitclone_tmp/. /usr/src/app && chmod +x /usr/src/app/update.sh && ln -s /usr/src/app/update.sh /bin/update # buildkit

2021-12-05 11:31:37 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pip install --upgrade setuptools && pip install --no-cache-dir -r requirements.txt && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2021-12-05 11:31:37 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2021-12-05 11:31:37 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2021-12-05 11:31:37 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2021-12-05 11:31:37 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/ /data]

2021-12-05 11:31:37 UTC (buildkit.dockerfile.v0)

CMD ["sh" "-c" "redis-server --daemonize yes && python /usr/src/app/run.py"]

Details
Created

2021-12-05 11:32:15 UTC

Size

155 MB

Content Digest
Labels
  • maintainer
    a76yyyy <q981331502@163.com>

Environment
CURL_VERSION

7.80.0

GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PORT

80

PYCURL_SSL_LIBRARY

openssl

PYTHON_GET_PIP_SHA256

c518250e91a70d7b20cceb15272209a4ded2a0c263ae5776f129e0d9b5674309

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/3cb8888cc2869620f57d5d2da64da38f516078c7/public/get-pip.py

PYTHON_PIP_VERSION

21.2.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.12

TZ

CST-8


Layers

[#000] sha256:56afcfda5d78cc243287acbaad250c5e8c0f47aae620dd7c51985b0d3c9b2728 - 1.62% (2.51 MB)

[#001] sha256:dcf9f1c7de2afbb93f6e652ecf1ae5d0bffe2d4481280a3ffb3ab4c6857ffdbf - 0.17% (276 KB)

[#002] sha256:e04e925252486027d2650c7ffb25734e5ea4f578b07a8ad8293cfcbbe0ab6cd6 - 6.66% (10.3 MB)

[#003] sha256:fe461e5612ec69afd175b3cc165f74eff1f479ecc2685558c82c713f74ba41de - 0.0% (232 Bytes)

[#004] sha256:ef95730e82e02cdb3cd340ba63d862d9ae0d1b268295d97bc2bcb594ae9a9fca - 1.44% (2.24 MB)

[#005] sha256:435ec92302155ed401faac16cd9885c660883862762cd108fc8975c05b0f61ab - 0.0% (235 Bytes)

[#006] sha256:e0eb29d954c996dc6ebfec62fa33b4b231f05dcba82f4eebb74f46f2a35e6d26 - 49.07% (76.1 MB)

[#007] sha256:041bb47a3f9d0e4da11696fb31690226bec27fa4a5bc3a975cb0b0f83aa0c905 - 4.15% (6.44 MB)

[#008] sha256:c4ea5fba24c8b0a18a42c45c4adf5d934b2f2d50a743b11175278901338b9f25 - 3.38% (5.25 MB)

[#009] sha256:98fe3b2f9da34a71a1e626118602c453f779c1111f67db23239e287442e06fcb - 7.69% (11.9 MB)

[#010] sha256:5e471409396561e1f5fe8e24d321751cd3aa26a4acdee7e748dea917419753dd - 0.0% (3.04 KB)

[#011] sha256:73b1f031cd7b68b0f7e02856a1d3079e8ac5ddefe01002df0d8a7508a325fe72 - 20.5% (31.8 MB)

[#012] sha256:5fa8fd13f3e178c70837a59dc5ae3772d63fc11a81975a1c2f79cc9b9e13f7ff - 5.31% (8.23 MB)


History
2021-11-12 16:49:42 UTC

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

2021-11-12 16:49:44 UTC

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

2021-11-12 18:41:19 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2021-11-12 18:41:19 UTC

/bin/sh -c #(nop) ENV LANG=C.UTF-8

2021-11-12 20:58:47 UTC

/bin/sh -c set -eux; apk add --no-cache ca-certificates ;

2021-11-12 20:58:48 UTC

/bin/sh -c #(nop) ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2021-11-12 20:58:48 UTC

/bin/sh -c #(nop) ENV PYTHON_VERSION=3.8.12

2021-11-12 21:10:09 UTC

/bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps gnupg tar xz && 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" && export GNUPGHOME="$(mktemp -d)" && gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY" && gpg --batch --verify python.tar.xz.asc python.tar.xz && { command -v gpgconf > /dev/null && gpgconf --kill all || :; } && rm -rf "$GNUPGHOME" python.tar.xz.asc && mkdir -p /usr/src/python && tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz && rm python.tar.xz && apk add --no-cache --virtual .build-deps bluez-dev bzip2-dev coreutils 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 && apk del --no-network .fetch-deps && 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-system-expat --with-system-ffi --without-ensurepip && make -j "$(nproc)" EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" LDFLAGS="-Wl,--strip-all" && make install && 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 '*.a' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -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-cache --virtual .python-rundeps && apk del --no-network .build-deps && python3 --version

2021-11-12 21:10:10 UTC

/bin/sh -c cd /usr/local/bin && ln -s idle3 idle && ln -s pydoc3 pydoc && ln -s python3 python && ln -s python3-config python-config

2021-11-12 21:10:11 UTC

/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=21.2.4

2021-11-12 21:10:11 UTC

/bin/sh -c #(nop) ENV PYTHON_SETUPTOOLS_VERSION=57.5.0

2021-11-12 21:10:12 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/3cb8888cc2869620f57d5d2da64da38f516078c7/public/get-pip.py

2021-11-12 21:10:12 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=c518250e91a70d7b20cceb15272209a4ded2a0c263ae5776f129e0d9b5674309

2021-11-12 21:10:28 UTC

/bin/sh -c set -ex; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; python get-pip.py --disable-pip-version-check --no-cache-dir "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; pip --version; 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' \) \) \) -exec rm -rf '{}' +; rm -f get-pip.py

2021-11-12 21:10:28 UTC

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

2021-11-15 13:13:18 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2021-11-15 13:13:18 UTC (buildkit.dockerfile.v0)

ENV PYCURL_SSL_LIBRARY=openssl

2021-11-15 13:13:18 UTC (buildkit.dockerfile.v0)

ENV CURL_VERSION=7.80.0

2021-11-15 13:13:18 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >>/etc/apk/repositories # buildkit

2021-11-15 13:13:57 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk update && apk add --update --no-cache openrc redis bash git autoconf g++ tzdata nano openssh-client automake nghttp2-dev ca-certificates zlib zlib-dev brotli brotli-dev zstd zstd-dev linux-headers libtool util-linux file # buildkit

2021-11-15 15:18:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c file /bin/busybox && [[ $(getconf LONG_BIT) = "32" && -z $(file /bin/busybox | grep "arm") ]] && configtmp="setarch i386 ./config -m32" || configtmp="./config " && apk add --update --no-cache --virtual curldeps make perl && wget https://curl.se/download/curl-$CURL_VERSION.tar.bz2 && git clone --depth 1 -b OpenSSL_1_1_1l+quic https://github.com/quictls/openssl && git clone https://github.com/ngtcp2/nghttp3 && git clone https://github.com/ngtcp2/ngtcp2 && cd openssl && echo $configtmp enable-tls1_3 --prefix=/usr && $configtmp enable-tls1_3 --prefix=/usr && make && make install_sw && cd .. && rm -r openssl && cd nghttp3 && autoreconf -i && ./configure --prefix=/usr --enable-lib-only && make && make install && cd .. && rm -r nghttp3 && cd ngtcp2 && autoreconf -i && ./configure PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib/pkgconfig LDFLAGS="-Wl,-rpath,/usr/lib" --prefix=/usr --enable-lib-only && make && make install && cd .. && rm -r ngtcp2 && tar xjvf curl-$CURL_VERSION.tar.bz2 && rm curl-$CURL_VERSION.tar.bz2 && cd curl-$CURL_VERSION && ./buildconf && LDFLAGS="-Wl,-rpath,/usr/lib" ./configure --with-openssl=/usr --with-nghttp2=/usr --with-nghttp3=/usr --with-ngtcp2=/usr --prefix=/usr --enable-ipv6 --enable-unix-sockets --without-libidn --disable-static --disable-ldap --with-pic && make && make install && cd .. && rm -r curl-$CURL_VERSION && apk del curldeps # buildkit

2021-11-15 15:21:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pip install --upgrade setuptools && pip install --upgrade wheel && pip install pycurl && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2021-12-05 11:30:56 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2021-12-05 11:30:56 UTC (buildkit.dockerfile.v0)

ADD . /usr/src/app # buildkit

2021-12-05 11:30:56 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2021-12-05 11:30:56 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c rc-status -a && echo -e '#!/bin/sh \nredis-server /etc/redis.conf' > /etc/local.d/redis.start && chmod +x /etc/local.d/redis.start && rc-update add local && rc-status -a # buildkit

2021-12-05 11:30:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /root/.ssh && cp -f ssh/qiandao_fetch /root/.ssh/id_rsa && cp -f ssh/qiandao_fetch.pub /root/.ssh/id_rsa.pub && chmod 600 /root/.ssh/id_rsa && ssh-keyscan gitee.com > /root/.ssh/known_hosts && let num=$RANDOM%100+10 && sleep $num && git clone git@gitee.com:a76yyyy/qiandao.git /gitclone_tmp && yes | cp -rf /gitclone_tmp/. /usr/src/app && chmod +x /usr/src/app/update.sh && ln -s /usr/src/app/update.sh /bin/update # buildkit

2021-12-05 11:32:15 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pip install --upgrade setuptools && pip install --no-cache-dir -r requirements.txt && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2021-12-05 11:32:15 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2021-12-05 11:32:15 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2021-12-05 11:32:15 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2021-12-05 11:32:15 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/ /data]

2021-12-05 11:32:15 UTC (buildkit.dockerfile.v0)

CMD ["sh" "-c" "redis-server --daemonize yes && python /usr/src/app/run.py"]

Details
Created

2021-12-05 11:31:52 UTC

Size

149 MB

Content Digest
Labels
  • maintainer
    a76yyyy <q981331502@163.com>

Environment
CURL_VERSION

7.80.0

GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PORT

80

PYCURL_SSL_LIBRARY

openssl

PYTHON_GET_PIP_SHA256

c518250e91a70d7b20cceb15272209a4ded2a0c263ae5776f129e0d9b5674309

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/3cb8888cc2869620f57d5d2da64da38f516078c7/public/get-pip.py

PYTHON_PIP_VERSION

21.2.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.12

TZ

CST-8


Layers

[#000] sha256:764d2e53e1a607f2d8261522185d5b9021ade3ec1a595664ee90308c00176899 - 1.56% (2.33 MB)

[#001] sha256:e79d0ac51eb5f836fa91faeb9a77f15f4b94debe8d198099a2f699704283c145 - 0.18% (275 KB)

[#002] sha256:c92111eab06955f8d3f634bd17987f44ac75a904d3e1395845011980c2ae8693 - 6.6% (9.87 MB)

[#003] sha256:559515da7be6e62162fe55e84089a354fa234498ded9da052461d8abd9f8ee02 - 0.0% (232 Bytes)

[#004] sha256:7b005d8ad3c81a0dddb086154bf5bc03c599f7fc7d0444a037a29fcbda2b75a1 - 1.5% (2.24 MB)

[#005] sha256:59bcffea0bfe8ae94251adee313845521327cba665f429e23640f2537cd1fb70 - 0.0% (235 Bytes)

[#006] sha256:42b845b73efeea4cb28ed030099ab170d464c89aba16bc00443fa59f68496f14 - 47.77% (71.4 MB)

[#007] sha256:8d223561f7a394b7230d8d31444110af637179a5249f499db5b0700c0f086d00 - 4.14% (6.19 MB)

[#008] sha256:97dfa6a1e7222eeb5b8d43e4b9cfc9b6dcd7fb3cefca51515367ba805ee32467 - 3.51% (5.24 MB)

[#009] sha256:86b44e5df527177a13c96426ddc532fcbe0bbdad70a05959fb8b1f42c5cfb3fe - 7.97% (11.9 MB)

[#010] sha256:fa79a50aafa1ed5c8e953531eb7b449f8363190d7741902283000c26aaad7f3d - 0.0% (3.04 KB)

[#011] sha256:57f36da03aef69c7a4cfa688a5490ae8550024a59840ad83171ddf66070b6393 - 21.27% (31.8 MB)

[#012] sha256:2ecfee5223d4ddf7aa48206d459bba47f884901dd4fbe641b1ce7485756b1b58 - 5.5% (8.22 MB)


History
2021-11-12 16:57:35 UTC

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

2021-11-12 16:57:36 UTC

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

2021-11-12 21:06:52 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2021-11-12 21:06:53 UTC

/bin/sh -c #(nop) ENV LANG=C.UTF-8

2021-11-13 00:38:11 UTC

/bin/sh -c set -eux; apk add --no-cache ca-certificates ;

2021-11-13 00:38:11 UTC

/bin/sh -c #(nop) ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2021-11-13 00:38:12 UTC

/bin/sh -c #(nop) ENV PYTHON_VERSION=3.8.12

2021-11-13 00:48:36 UTC

/bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps gnupg tar xz && 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" && export GNUPGHOME="$(mktemp -d)" && gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY" && gpg --batch --verify python.tar.xz.asc python.tar.xz && { command -v gpgconf > /dev/null && gpgconf --kill all || :; } && rm -rf "$GNUPGHOME" python.tar.xz.asc && mkdir -p /usr/src/python && tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz && rm python.tar.xz && apk add --no-cache --virtual .build-deps bluez-dev bzip2-dev coreutils 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 && apk del --no-network .fetch-deps && 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-system-expat --with-system-ffi --without-ensurepip && make -j "$(nproc)" EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" LDFLAGS="-Wl,--strip-all" && make install && 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 '*.a' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -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-cache --virtual .python-rundeps && apk del --no-network .build-deps && python3 --version

2021-11-13 00:48:38 UTC

/bin/sh -c cd /usr/local/bin && ln -s idle3 idle && ln -s pydoc3 pydoc && ln -s python3 python && ln -s python3-config python-config

2021-11-13 00:48:38 UTC

/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=21.2.4

2021-11-13 00:48:39 UTC

/bin/sh -c #(nop) ENV PYTHON_SETUPTOOLS_VERSION=57.5.0

2021-11-13 00:48:39 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/3cb8888cc2869620f57d5d2da64da38f516078c7/public/get-pip.py

2021-11-13 00:48:40 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=c518250e91a70d7b20cceb15272209a4ded2a0c263ae5776f129e0d9b5674309

2021-11-13 00:48:55 UTC

/bin/sh -c set -ex; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; python get-pip.py --disable-pip-version-check --no-cache-dir "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; pip --version; 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' \) \) \) -exec rm -rf '{}' +; rm -f get-pip.py

2021-11-13 00:48:56 UTC

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

2021-11-15 13:13:17 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2021-11-15 13:13:17 UTC (buildkit.dockerfile.v0)

ENV PYCURL_SSL_LIBRARY=openssl

2021-11-15 13:13:17 UTC (buildkit.dockerfile.v0)

ENV CURL_VERSION=7.80.0

2021-11-15 13:13:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >>/etc/apk/repositories # buildkit

2021-11-15 13:14:03 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk update && apk add --update --no-cache openrc redis bash git autoconf g++ tzdata nano openssh-client automake nghttp2-dev ca-certificates zlib zlib-dev brotli brotli-dev zstd zstd-dev linux-headers libtool util-linux file # buildkit

2021-11-15 15:21:42 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c file /bin/busybox && [[ $(getconf LONG_BIT) = "32" && -z $(file /bin/busybox | grep "arm") ]] && configtmp="setarch i386 ./config -m32" || configtmp="./config " && apk add --update --no-cache --virtual curldeps make perl && wget https://curl.se/download/curl-$CURL_VERSION.tar.bz2 && git clone --depth 1 -b OpenSSL_1_1_1l+quic https://github.com/quictls/openssl && git clone https://github.com/ngtcp2/nghttp3 && git clone https://github.com/ngtcp2/ngtcp2 && cd openssl && echo $configtmp enable-tls1_3 --prefix=/usr && $configtmp enable-tls1_3 --prefix=/usr && make && make install_sw && cd .. && rm -r openssl && cd nghttp3 && autoreconf -i && ./configure --prefix=/usr --enable-lib-only && make && make install && cd .. && rm -r nghttp3 && cd ngtcp2 && autoreconf -i && ./configure PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib/pkgconfig LDFLAGS="-Wl,-rpath,/usr/lib" --prefix=/usr --enable-lib-only && make && make install && cd .. && rm -r ngtcp2 && tar xjvf curl-$CURL_VERSION.tar.bz2 && rm curl-$CURL_VERSION.tar.bz2 && cd curl-$CURL_VERSION && ./buildconf && LDFLAGS="-Wl,-rpath,/usr/lib" ./configure --with-openssl=/usr --with-nghttp2=/usr --with-nghttp3=/usr --with-ngtcp2=/usr --prefix=/usr --enable-ipv6 --enable-unix-sockets --without-libidn --disable-static --disable-ldap --with-pic && make && make install && cd .. && rm -r curl-$CURL_VERSION && apk del curldeps # buildkit

2021-11-15 15:23:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pip install --upgrade setuptools && pip install --upgrade wheel && pip install pycurl && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2021-12-05 11:30:55 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2021-12-05 11:30:55 UTC (buildkit.dockerfile.v0)

ADD . /usr/src/app # buildkit

2021-12-05 11:30:55 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2021-12-05 11:30:56 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c rc-status -a && echo -e '#!/bin/sh \nredis-server /etc/redis.conf' > /etc/local.d/redis.start && chmod +x /etc/local.d/redis.start && rc-update add local && rc-status -a # buildkit

2021-12-05 11:30:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /root/.ssh && cp -f ssh/qiandao_fetch /root/.ssh/id_rsa && cp -f ssh/qiandao_fetch.pub /root/.ssh/id_rsa.pub && chmod 600 /root/.ssh/id_rsa && ssh-keyscan gitee.com > /root/.ssh/known_hosts && let num=$RANDOM%100+10 && sleep $num && git clone git@gitee.com:a76yyyy/qiandao.git /gitclone_tmp && yes | cp -rf /gitclone_tmp/. /usr/src/app && chmod +x /usr/src/app/update.sh && ln -s /usr/src/app/update.sh /bin/update # buildkit

2021-12-05 11:31:52 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pip install --upgrade setuptools && pip install --no-cache-dir -r requirements.txt && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2021-12-05 11:31:52 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2021-12-05 11:31:52 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2021-12-05 11:31:52 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2021-12-05 11:31:52 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/ /data]

2021-12-05 11:31:52 UTC (buildkit.dockerfile.v0)

CMD ["sh" "-c" "redis-server --daemonize yes && python /usr/src/app/run.py"]

Details
Created

2021-12-05 11:31:31 UTC

Size

163 MB

Content Digest
Labels
  • maintainer
    a76yyyy <q981331502@163.com>

Environment
CURL_VERSION

7.80.0

GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PORT

80

PYCURL_SSL_LIBRARY

openssl

PYTHON_GET_PIP_SHA256

c518250e91a70d7b20cceb15272209a4ded2a0c263ae5776f129e0d9b5674309

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/3cb8888cc2869620f57d5d2da64da38f516078c7/public/get-pip.py

PYTHON_PIP_VERSION

21.2.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.12

TZ

CST-8


Layers

[#000] sha256:be307f383ecc62b27a29b599c3fc9d3129693a798e7fcce614f09174cfe2d354 - 1.59% (2.59 MB)

[#001] sha256:05aeb984f21061c6aea8489e65bd68a3ec292e9cba160566d11a942d487b550d - 0.17% (275 KB)

[#002] sha256:0d6143fbdccc3a89a9a026d9a81a3a34dde138033eef04ed273857548b595ae7 - 6.62% (10.8 MB)

[#003] sha256:5df4657a6df88dd63247ff4508ad8bda16501b67f2f97a2a31dcdef51ab74ebd - 0.0% (232 Bytes)

[#004] sha256:c87e4ff6e8d761e0db691ad452425a6a92dbad9ff27b28ad302af3b3a2294ab6 - 1.38% (2.24 MB)

[#005] sha256:435ec92302155ed401faac16cd9885c660883862762cd108fc8975c05b0f61ab - 0.0% (235 Bytes)

[#006] sha256:50c6fb5106a174b4d51ecef92ad65c9f5c0d79324183bc7bc11d25b7d6975cf8 - 50.9% (82.8 MB)

[#007] sha256:69d22ff5d737312cf42d493232275181a9564ef6b13e9f0cd279d6da94be20bd - 4.22% (6.87 MB)

[#008] sha256:80d295dd45f0ff71089531352b4ca5a0742c961234091aefcc8e6341b4cdfbf1 - 3.22% (5.25 MB)

[#009] sha256:311531986414b8ee073c3cda20092fe4b1c55b232cd1a752cee6f7972a3ca170 - 7.32% (11.9 MB)

[#010] sha256:dd94932ebe94c700cd050bb88a249bf06f81fa4e699499544b763408d4a464f5 - 0.0% (3.04 KB)

[#011] sha256:89137e7d7b9ccc93908e42ecffb253d467a3f6da8b2a276fe4bf9f109f8c8eb9 - 19.53% (31.8 MB)

[#012] sha256:7c601a52763b261b1cb123d5cc35eaecda963d7ef21761a511d0393d7e8a0a39 - 5.04% (8.21 MB)


History
2021-11-12 16:39:58 UTC

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

2021-11-12 16:39:58 UTC

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

2021-11-12 21:36:28 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2021-11-12 21:36:29 UTC

/bin/sh -c #(nop) ENV LANG=C.UTF-8

2021-11-12 22:51:25 UTC

/bin/sh -c set -eux; apk add --no-cache ca-certificates ;

2021-11-12 22:51:26 UTC

/bin/sh -c #(nop) ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2021-11-12 22:51:27 UTC

/bin/sh -c #(nop) ENV PYTHON_VERSION=3.8.12

2021-11-12 22:56:42 UTC

/bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps gnupg tar xz && 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" && export GNUPGHOME="$(mktemp -d)" && gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY" && gpg --batch --verify python.tar.xz.asc python.tar.xz && { command -v gpgconf > /dev/null && gpgconf --kill all || :; } && rm -rf "$GNUPGHOME" python.tar.xz.asc && mkdir -p /usr/src/python && tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz && rm python.tar.xz && apk add --no-cache --virtual .build-deps bluez-dev bzip2-dev coreutils 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 && apk del --no-network .fetch-deps && 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-system-expat --with-system-ffi --without-ensurepip && make -j "$(nproc)" EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" LDFLAGS="-Wl,--strip-all" && make install && 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 '*.a' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -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-cache --virtual .python-rundeps && apk del --no-network .build-deps && python3 --version

2021-11-12 22:56:43 UTC

/bin/sh -c cd /usr/local/bin && ln -s idle3 idle && ln -s pydoc3 pydoc && ln -s python3 python && ln -s python3-config python-config

2021-11-12 22:56:43 UTC

/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=21.2.4

2021-11-12 22:56:44 UTC

/bin/sh -c #(nop) ENV PYTHON_SETUPTOOLS_VERSION=57.5.0

2021-11-12 22:56:45 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/3cb8888cc2869620f57d5d2da64da38f516078c7/public/get-pip.py

2021-11-12 22:56:46 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=c518250e91a70d7b20cceb15272209a4ded2a0c263ae5776f129e0d9b5674309

2021-11-12 22:56:53 UTC

/bin/sh -c set -ex; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; python get-pip.py --disable-pip-version-check --no-cache-dir "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; pip --version; 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' \) \) \) -exec rm -rf '{}' +; rm -f get-pip.py

2021-11-12 22:56:54 UTC

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

2021-11-15 13:13:18 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2021-11-15 13:13:18 UTC (buildkit.dockerfile.v0)

ENV PYCURL_SSL_LIBRARY=openssl

2021-11-15 13:13:18 UTC (buildkit.dockerfile.v0)

ENV CURL_VERSION=7.80.0

2021-11-15 13:13:18 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >>/etc/apk/repositories # buildkit

2021-11-15 13:14:03 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk update && apk add --update --no-cache openrc redis bash git autoconf g++ tzdata nano openssh-client automake nghttp2-dev ca-certificates zlib zlib-dev brotli brotli-dev zstd zstd-dev linux-headers libtool util-linux file # buildkit

2021-11-15 15:28:47 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c file /bin/busybox && [[ $(getconf LONG_BIT) = "32" && -z $(file /bin/busybox | grep "arm") ]] && configtmp="setarch i386 ./config -m32" || configtmp="./config " && apk add --update --no-cache --virtual curldeps make perl && wget https://curl.se/download/curl-$CURL_VERSION.tar.bz2 && git clone --depth 1 -b OpenSSL_1_1_1l+quic https://github.com/quictls/openssl && git clone https://github.com/ngtcp2/nghttp3 && git clone https://github.com/ngtcp2/ngtcp2 && cd openssl && echo $configtmp enable-tls1_3 --prefix=/usr && $configtmp enable-tls1_3 --prefix=/usr && make && make install_sw && cd .. && rm -r openssl && cd nghttp3 && autoreconf -i && ./configure --prefix=/usr --enable-lib-only && make && make install && cd .. && rm -r nghttp3 && cd ngtcp2 && autoreconf -i && ./configure PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib/pkgconfig LDFLAGS="-Wl,-rpath,/usr/lib" --prefix=/usr --enable-lib-only && make && make install && cd .. && rm -r ngtcp2 && tar xjvf curl-$CURL_VERSION.tar.bz2 && rm curl-$CURL_VERSION.tar.bz2 && cd curl-$CURL_VERSION && ./buildconf && LDFLAGS="-Wl,-rpath,/usr/lib" ./configure --with-openssl=/usr --with-nghttp2=/usr --with-nghttp3=/usr --with-ngtcp2=/usr --prefix=/usr --enable-ipv6 --enable-unix-sockets --without-libidn --disable-static --disable-ldap --with-pic && make && make install && cd .. && rm -r curl-$CURL_VERSION && apk del curldeps # buildkit

2021-11-15 15:30:39 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pip install --upgrade setuptools && pip install --upgrade wheel && pip install pycurl && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2021-12-05 11:30:56 UTC (buildkit.dockerfile.v0)

LABEL maintainer=a76yyyy <q981331502@163.com>

2021-12-05 11:30:56 UTC (buildkit.dockerfile.v0)

ADD . /usr/src/app # buildkit

2021-12-05 11:30:56 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/src/app

2021-12-05 11:30:56 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c rc-status -a && echo -e '#!/bin/sh \nredis-server /etc/redis.conf' > /etc/local.d/redis.start && chmod +x /etc/local.d/redis.start && rc-update add local && rc-status -a # buildkit

2021-12-05 11:30:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /root/.ssh && cp -f ssh/qiandao_fetch /root/.ssh/id_rsa && cp -f ssh/qiandao_fetch.pub /root/.ssh/id_rsa.pub && chmod 600 /root/.ssh/id_rsa && ssh-keyscan gitee.com > /root/.ssh/known_hosts && let num=$RANDOM%100+10 && sleep $num && git clone git@gitee.com:a76yyyy/qiandao.git /gitclone_tmp && yes | cp -rf /gitclone_tmp/. /usr/src/app && chmod +x /usr/src/app/update.sh && ln -s /usr/src/app/update.sh /bin/update # buildkit

2021-12-05 11:31:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pip install --upgrade setuptools && pip install --no-cache-dir -r requirements.txt && rm -rf /var/cache/apk/* && rm -rf /usr/share/man/* # buildkit

2021-12-05 11:31:31 UTC (buildkit.dockerfile.v0)

ENV PORT=80

2021-12-05 11:31:31 UTC (buildkit.dockerfile.v0)

EXPOSE map[80/tcp:{}]

2021-12-05 11:31:31 UTC (buildkit.dockerfile.v0)

ENV TZ=CST-8

2021-12-05 11:31:31 UTC (buildkit.dockerfile.v0)

VOLUME [/usr/src/app/ /data]

2021-12-05 11:31:31 UTC (buildkit.dockerfile.v0)

CMD ["sh" "-c" "redis-server --daemonize yes && python /usr/src/app/run.py"]

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