镜像构建历史
# 2024-09-21 00:53:26 0.00B 设置环境变量 SHELL
ENV SHELL=/usr/bin/zsh
# 2024-09-21 00:53:26 1.77KB 执行命令并创建新的镜像层
RUN |1 TOOLS= git curl build-essential ffmpeg libsm6 libxext6 libjpeg-dev zlib1g-dev aria2 zsh openssh-server sudo protobuf-compiler cmake /bin/sh -c chsh -s /usr/bin/zsh # buildkit
# 2024-09-21 00:53:26 10.43MB 执行命令并创建新的镜像层
RUN |1 TOOLS= git curl build-essential ffmpeg libsm6 libxext6 libjpeg-dev zlib1g-dev aria2 zsh openssh-server sudo protobuf-compiler cmake /bin/sh -c sh -c "$(curl https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" "" --unattended # buildkit
# 2024-09-21 00:53:25 405.02MB 执行命令并创建新的镜像层
RUN |1 TOOLS= git curl build-essential ffmpeg libsm6 libxext6 libjpeg-dev zlib1g-dev aria2 zsh openssh-server sudo protobuf-compiler cmake /bin/sh -c set -ex && apt-get update && apt-get -y install --no-install-recommends ${TOOLS} # buildkit
# 2024-09-21 00:53:25 0.00B 定义构建参数
ARG TOOLS= git curl build-essential ffmpeg libsm6 libxext6 libjpeg-dev zlib1g-dev aria2 zsh openssh-server sudo protobuf-compiler cmake
# 2024-09-21 00:51:34 0.00B 设置默认要执行的命令
CMD ["./entrypoint.sh"]
# 2024-09-21 00:51:34 0.00B 声明容器运行时监听的端口
EXPOSE map[7860/tcp:{}]
# 2024-09-21 00:51:34 0.00B 设置环境变量 GRADIO_SERVER_NAME
ENV GRADIO_SERVER_NAME=0.0.0.0
# 2024-09-21 00:51:34 1.18GB 复制新文件或目录到容器中
COPY /opt/fish-speech/checkpoints /opt/fish-speech/checkpoints # buildkit
# 2024-09-21 00:51:32 6.72GB 执行命令并创建新的镜像层
RUN |2 TARGETARCH=amd64 DEPENDENCIES= ca-certificates libsox-dev ffmpeg /bin/sh -c set -ex && pip install -e .[stable] # buildkit
# 2024-09-21 00:49:13 1.03MB 复制新文件或目录到容器中
COPY . . # buildkit
# 2024-09-15 17:36:33 0.00B 设置工作目录为/opt/fish-speech
WORKDIR /opt/fish-speech
# 2024-09-15 17:36:33 466.66MB 执行命令并创建新的镜像层
RUN |2 TARGETARCH=amd64 DEPENDENCIES= ca-certificates libsox-dev ffmpeg /bin/sh -c set -ex && rm -f /etc/apt/apt.conf.d/docker-clean && echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' >/etc/apt/apt.conf.d/keep-cache && apt-get update && apt-get -y install --no-install-recommends ${DEPENDENCIES} && echo "no" | dpkg-reconfigure dash # buildkit
# 2024-09-15 17:36:33 0.00B 定义构建参数
ARG DEPENDENCIES= ca-certificates libsox-dev ffmpeg
# 2024-09-15 17:36:33 0.00B 定义构建参数
ARG TARGETARCH=amd64
# 2024-09-10 01:16:05 0.00B 设置默认要执行的命令
CMD ["python3"]
# 2024-09-10 01:16:05 36.00B 执行命令并创建新的镜像层
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-10 01:16:05 39.98MB 执行命令并创建新的镜像层
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 --version # buildkit
# 2024-09-10 01:16:05 0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.12.6
# 2024-09-10 01:16:05 0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
# 2024-09-10 01:16:05 9.24MB 执行命令并创建新的镜像层
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-10 01:16:05 0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
# 2024-09-10 01:16:05 0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2024-09-05 06:30:47 0.00B
/bin/sh -c #(nop) CMD ["bash"]
# 2024-09-05 06:30:47 74.78MB
/bin/sh -c #(nop) ADD file:d13afefcc2b0b02b598a3ac2598fe2187db41de1e17820e5b600a955b1429d59 in /
镜像信息
{
"Id": "sha256:81cd2ce88ce5b0c690d18a6a7d0a43277a80745e98d9c11ea6128903407d50d6",
"RepoTags": [
"fishaudio/fish-speech:latest-dev",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/fishaudio/fish-speech:latest-dev"
],
"RepoDigests": [
"fishaudio/fish-speech@sha256:2a54d449fadf1ee14f344f4abbae45a1604aa6e916262d4f75c2ac1bdfe7ba84",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/fishaudio/fish-speech@sha256:257d0ee5502adee3a7c771550e294c2ba3c0bc54bb76da7dcda1cbfa7fd0db44"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2024-09-20T16:53:26.556506027Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"7860/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LANG=C.UTF-8",
"GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305",
"PYTHON_VERSION=3.12.6",
"GRADIO_SERVER_NAME=0.0.0.0",
"SHELL=/usr/bin/zsh"
],
"Cmd": [
"./entrypoint.sh"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": null,
"WorkingDir": "/opt/fish-speech",
"Entrypoint": null,
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 8905609010,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/6a868350713670ed73cac76b239ae8a1c5a008447139e604c884fac21c0c0aa1/diff:/var/lib/docker/overlay2/d71d9887cc7fe366f70495d6a0f30cdfd77b1bfea9c882d31d70c9f77f437450/diff:/var/lib/docker/overlay2/746efa425b36ba534aedd64c79a0c4442037d29cfcc206a2ba5dc1623415e64d/diff:/var/lib/docker/overlay2/ad8a514ab4c2c4af2f64134117f5a8fecf72a5b4c4b883ebdedde224bf5c03bc/diff:/var/lib/docker/overlay2/5bd99e887a24aff869fc076b94c82b2c0ca36c40814b9223d8047b6296c8b1fb/diff:/var/lib/docker/overlay2/9cb95cad7e913405d8572b2a0481d02499219f17bceaa3b506e749ea4ec2c27c/diff:/var/lib/docker/overlay2/a4fc7279c58ebf129fec0a3cc129e11e1ffef75d509af2055caeeb89c137d23c/diff:/var/lib/docker/overlay2/69f074c3179cabef74859117c2357c3237b07801698c3d5275d79c17494b1a40/diff:/var/lib/docker/overlay2/4168561ee9a1a93d79bddf456a4412716238bb75212e5207db7471225287173f/diff:/var/lib/docker/overlay2/67d121a2f712da156f24c40a924edb1475d1475f1dfc43e63cc3b98efc5d53d0/diff:/var/lib/docker/overlay2/35d783ba1e40af320a2c83c510409780d32c332703501e9a591fa471ce729790/diff",
"MergedDir": "/var/lib/docker/overlay2/9c26618283dec6fb6bc2a93b9aaf6d1ed563720b25025396fc5a7e7df9139aeb/merged",
"UpperDir": "/var/lib/docker/overlay2/9c26618283dec6fb6bc2a93b9aaf6d1ed563720b25025396fc5a7e7df9139aeb/diff",
"WorkDir": "/var/lib/docker/overlay2/9c26618283dec6fb6bc2a93b9aaf6d1ed563720b25025396fc5a7e7df9139aeb/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:8e2ab394fabf557b00041a8f080b10b4e91c7027b7c174f095332c7ebb6501cb",
"sha256:de732417db5dead5ef2085885361007255630efefa7d0c8a809c96c211ab3ea3",
"sha256:ecfc14c1631850d44ab5a7af903cebb8106e4e7f7f6e76476fcacf913d01c76c",
"sha256:5c5b1cd049476375242d4518b2d307cea9034fcc18f7869288d1660c14130199",
"sha256:9f4f006699c82debe1882a9253ef5bf38ea6f7bf533260b7c263579a030eb3f0",
"sha256:c76306210384e8f24260b05c6d99b560162f40fa512394f26a2333df3efd8ff7",
"sha256:e148b4ccbca479ac982d1a216def72b3a956693d05a4687ff3ad55b74926f384",
"sha256:26c7e0ec36632ea5368bf3f7726cd4a4b3b9835a20108aee621f94671af29010",
"sha256:49012cc752c77ed4d316ab84420ad1bae38cedaeee81aad85e9319cec990e0b1",
"sha256:2bb5ee6a0e87fbbdf92e84bf5e09feade48b657dfbe745efe1a05bf6a4e1d2af",
"sha256:0ba7e791fd4a2f999fc10dd1213cbe7fbea43e694184910674366a5d2c56a560",
"sha256:02841b27f9d8df233f5467b5c8173ceb8b5216cf3e1086e0fdb8e85266448aff"
]
},
"Metadata": {
"LastTagTime": "2024-09-25T02:55:27.887770642+08:00"
}
}