2024-09-24 11:20:35 +0800
419 MB
A035C8C19219BA821ECEA86B64E628F8D684696D
LANGC.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_VERSION3.11.10
[#000] sha256:6533c3eba3f3cd4c840877f9245b26929fc8c22a39f42c872aa314c32c6d654b - 7.15% (30 MB)
[#001] sha256:d69c32f98917901c7b942c9884e7d8e04916a6c6c45938e8c389f8412546bb6b - 0.24% (1.03 MB)
[#002] sha256:9e3a3447a656117614d9a6ccd9b487f88f52049611a47028899ebcc9ef2c96d3 - 3.45% (14.5 MB)
[#003] sha256:6cb66b05ec9b9c63a0e8feb327380c48b19ec4438ebcd903fd9ead2eb54b02d7 - 0.0% (251 Bytes)
[#004] sha256:5f1ecbb194306538d46f13bdc58fb6e5acf41dc8cf5acb94c1276e9b8aabcae5 - 0.13% (543 KB)
[#005] sha256:511285521736f9a469de45c2b8c0f0960fe54f2cfa8f316100815da22b06b264 - 66.11% (277 MB)
[#006] sha256:eba6179513bdc9849f5c8b7f8cbb2ab353106e26f88e4239f9c6f18f05393aa5 - 7.59% (31.8 MB)
[#007] sha256:1b8cfc1181806e3d5812b57ad62c7195d658e4279716ee4265ce990648e8e817 - 6.22% (26.1 MB)
[#008] sha256:a66ef1e202f69ea4205c909e658c4ef7ac22b47627e3631b876d4b1cadfc1bf9 - 6.22% (26.1 MB)
[#009] sha256:56b67c959892616596e2ef6732c3843b79814167d51ffa4e9633ce39836725ab - 2.89% (12.1 MB)
[#010] sha256:9e734132d042a69b7fb64f3804e7dc0087fa08264838f1cd0d3fbec144ba934e - 0.0% (93 Bytes)
[#011] sha256:0f95c47a3f5f67cf9c11a296c23a65e49ae9d594efafae9191da89b26a6c2d7f - 0.0% (184 Bytes)
[#012] sha256:6d04746e7d1c964381ff645c731b73c12a72421da1b23205db2a854424a5d09d - 0.0% (691 Bytes)
[#013] sha256:f67b1503c1e9d05391ea2f6a83e6b41572ec224cd2dd898f90f990a76f87ed0c - 0.0% (200 Bytes)
[#014] sha256:6f85b6c18263be37cc0a5fb1ec387f9e95e6e835aa88ef832be25f8a8fb617eb - 0.0% (226 Bytes)
[#015] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ADD file:1b8ac8ec2b2cbdfc9682f076e7e579579d6df6235ed23b2e63f8eec671c52e92 in /
2024-09-04 22:31:09 UTC/bin/sh -c #(nop) CMD ["bash"]
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.11.10
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libexpat1-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; 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 --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "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 '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==65.5.1' wheel ; pip3 --version # buildkit
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; for src in idle3 pip3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2024-09-24 11:17:26 +0800 (buildkit.dockerfile.v0)COPY /app/dist /app/frontend # buildkit
2024-09-24 11:19:37 +0800 (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update && apt-get install -y nginx gcc build-essential ffmpeg && rm -rf /var/lib/apt/lists/* # buildkit
2024-09-24 11:20:33 +0800 (buildkit.dockerfile.v0)COPY /app/backend/dist/main /app/backend/main # buildkit
2024-09-24 11:20:33 +0800 (buildkit.dockerfile.v0)COPY /app/backend/dist/user_create /app/backend/user_create # buildkit
2024-09-24 11:20:33 +0800 (buildkit.dockerfile.v0)COPY /app/backend/dist/user_password_reset /app/backend/user_password_reset # buildkit
2024-09-24 11:20:33 +0800 (buildkit.dockerfile.v0)COPY /app/backend/dist/decrypt_db /app/backend/decrypt_db # buildkit
2024-09-24 11:20:34 +0800 (buildkit.dockerfile.v0)RUN /bin/sh -c ls /app/backend/main # buildkit
2024-09-24 11:20:34 +0800 (buildkit.dockerfile.v0)COPY ./.env /app/backend # buildkit
2024-09-24 11:20:34 +0800 (buildkit.dockerfile.v0)COPY nginx.conf /etc/nginx/nginx.conf # buildkit
2024-09-24 11:20:34 +0800 (buildkit.dockerfile.v0)COPY start.sh /start.sh # buildkit
2024-09-24 11:20:35 +0800 (buildkit.dockerfile.v0)RUN /bin/sh -c chmod +x /start.sh # buildkit
2024-09-24 11:20:35 +0800 (buildkit.dockerfile.v0)EXPOSE map[80/tcp:{}]
2024-09-24 11:20:35 +0800 (buildkit.dockerfile.v0)WORKDIR /app/backend
2024-09-24 11:20:35 +0800 (buildkit.dockerfile.v0)CMD ["/bin/sh" "-c" "service nginx start ; ./main"]
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.