镜像构建历史
# 2025-01-03 09:52:53 0.00B 声明容器运行时监听的端口
EXPOSE map[8085/tcp:{}]
# 2025-01-03 09:52:53 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/bin/entrypoint.sh"]
# 2025-01-03 09:52:53 1.15KB 复制新文件或目录到容器中
COPY deploy/docker/entrypoint.sh /usr/bin/entrypoint.sh # buildkit
# 2025-01-03 09:52:53 93.06MB 复制新文件或目录到容器中
COPY /go/neuronex/_build/neuronex-* . # buildkit
# 2025-01-03 09:50:49 0.00B 设置工作目录为/opt/neuronex
WORKDIR /opt/neuronex
# 2025-01-03 09:50:49 0.00B 设置环境变量 GOTRACEBACK
ENV GOTRACEBACK=crash
# 2025-01-03 09:50:49 0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
# 2025-01-03 09:50:49 0.00B 设置环境变量 LC_ALL
ENV LC_ALL=C.UTF-8
# 2025-01-03 09:50:49 438.69MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update && apt-get install --no-install-recommends -y curl procps net-tools git ffmpeg && apt-get install -y cmake && apt-get install --reinstall libffi-dev && pip install ekuiper && apt-get autoremove -y cmake git && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit
# 2024-11-20 06:49:30 0.00B 设置默认要执行的命令
CMD ["python3"]
# 2024-11-20 06:49:30 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-11-20 06:49:30 37.44MB 执行命令并创建新的镜像层
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 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"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; 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-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:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" 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-11-20 06:49:30 0.00B 设置环境变量 PYTHON_SHA256
ENV PYTHON_SHA256=2ff9e10147342b3efd69f5cd9cc06ec46250f2a046587599d18e2cac69c05920
# 2024-11-20 06:49:30 0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.14.0a2
# 2024-11-20 06:49:30 2.33MB 执行命令并创建新的镜像层
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-11-20 06:49:30 0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2024-11-20 06:49:30 80.66MB
# debian.sh --arch 'amd64' out/ 'bullseye' '@1733097600'
镜像信息
{
"Id": "sha256:87e8bff30821e5ba0bf269e3d466454e2a50ce9414c38bd289cb0aaad9379606",
"RepoTags": [
"emqx/neuronex:3.4",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/emqx/neuronex:3.4"
],
"RepoDigests": [
"emqx/neuronex@sha256:43f01df86f3a364c9fb560009453b03377ad7992a32a0ec27d3df235cc9b3c83",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/emqx/neuronex@sha256:040c16b2befa546109fec427056f431b5261c4357c566a9eddf3eb0f3ff52939"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-01-03T01:52:53.179787482Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"8085/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"PYTHON_VERSION=3.14.0a2",
"PYTHON_SHA256=2ff9e10147342b3efd69f5cd9cc06ec46250f2a046587599d18e2cac69c05920",
"LC_ALL=C.UTF-8",
"LANG=C.UTF-8",
"GOTRACEBACK=crash"
],
"Cmd": null,
"Image": "",
"Volumes": null,
"WorkingDir": "/opt/neuronex",
"Entrypoint": [
"/usr/bin/entrypoint.sh"
],
"OnBuild": null,
"Labels": {
"org.opencontainers.image.created": "2025-01-03T01:46:55.521Z",
"org.opencontainers.image.description": "",
"org.opencontainers.image.licenses": "",
"org.opencontainers.image.revision": "c4c35f81405a103c63627820ff02347d451c8d7f",
"org.opencontainers.image.source": "https://github.com/emqx/neuronex-go",
"org.opencontainers.image.title": "neuronex-go",
"org.opencontainers.image.url": "https://github.com/emqx/neuronex-go",
"org.opencontainers.image.version": "3.4.3"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 652171375,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/7fd459e9cd502f707b494470e07dc872533f8d2f6447eba4e095e538035736ba/diff:/var/lib/docker/overlay2/b8232eeb89f2e04bf2d4040452dbefb880c6d1b55209510824e0c4b98bd1df59/diff:/var/lib/docker/overlay2/43cf3245b2f9c74bd2babb2f7f1e3166773842e32631b4c02a9d0fbbe3c9ca3e/diff:/var/lib/docker/overlay2/d0c9e78c264c6578a75fac4b732f1683e80a62c891978254a8eb684813ee2477/diff:/var/lib/docker/overlay2/66b3744d91ef081cbe963976ced154e92016fc705d2d83df262f84d07529ab69/diff:/var/lib/docker/overlay2/4a8091402a5fac7ef947d1775509845b5ffa7c760e8c12fc5f82baa0d2849aa9/diff:/var/lib/docker/overlay2/d096ae68d7ba1294c7510b5bed20adff98c32b2260904a93475cce40aa45e4f0/diff",
"MergedDir": "/var/lib/docker/overlay2/8b8ec490362e5130d5929fa516bbec2ef7501a427e033e1fc549ddbeacf6e6cd/merged",
"UpperDir": "/var/lib/docker/overlay2/8b8ec490362e5130d5929fa516bbec2ef7501a427e033e1fc549ddbeacf6e6cd/diff",
"WorkDir": "/var/lib/docker/overlay2/8b8ec490362e5130d5929fa516bbec2ef7501a427e033e1fc549ddbeacf6e6cd/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:6a4fdc7ff1bfb236bd5caadebad42a7a36cbab09ee1eff157659d5adb47f6500",
"sha256:a3c4e251bb3a3886d06894381eb5c34ab9dbe8afc1891f5755dd4082d15a24a4",
"sha256:1b2a8c24145ee68cab739b5a016462a14052145aa05b405f4b61796056e5691d",
"sha256:316ad45b9b6f45b7d086f15f2dfd758f6e19819285a5e05d5256489ead324f51",
"sha256:5d39044fc505da2e00463f2c3731995c1ce0093abe4f42e242954072d1477296",
"sha256:d06867449b2ead2b998db768af7c7d73b3b87ffd3dfa3eb9716b88a348cc025e",
"sha256:89d97d7539307f7b2e93c2cd755769ac815599e30f08d3dd9e9ae9b188d87378",
"sha256:88350a9e52459e614a4abd846f9643ee39d9c82abe511dbaae159b2633a37127"
]
},
"Metadata": {
"LastTagTime": "2025-01-16T14:15:25.676468514+08:00"
}
}