镜像构建历史
# 2025-06-19 18:55:05 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/start-collabora-online.sh"]
# 2025-06-19 18:55:05 0.00B 指定运行容器时使用的用户
USER 1001
# 2025-06-19 18:55:05 0.00B 声明容器运行时监听的端口
EXPOSE map[9980/tcp:{}]
# 2025-06-19 18:55:05 1.79KB 复制新文件或目录到容器中
COPY /scripts/start-collabora-online.sh / # buildkit
# 2025-06-19 18:55:05 1.36GB 执行命令并创建新的镜像层
RUN |8 author= releasenotes= version=25.04.3.1 coretag=cp-25.04.3-1 onlinetag=cp-25.04.3-1 repo= type= nobrand= /bin/sh -c apt-get update && apt-get -y install cpio tzdata libcap2-bin apt-transport-https gnupg2 ca-certificates curl && repourl="https://collaboraoffice.com/${repo:-repos}/CollaboraOnline/"; secret_key=$(cat /run/secrets/secret_key); if [ "$type" = "cool" ] && [ -n ${secret_key+set} ]; then echo "Based on the provided build arguments Collabora Online from customer repo will be used."; repourl="${repourl}25.04/customer-deb-${secret_key}/"; elif [ "$type" = "key" ]; then echo "Based on the provided build arguments license key enabled Collabora Online will be used."; repourl="${repourl}25.04-key/"; else echo "Based on the provided build arguments Collabora Online Development Edition will be used."; repourl="${repourl}25.04-CODE/CODE-deb/"; fi && echo "deb [signed-by=/usr/share/keyrings/collaboraonline-release-keyring.gpg] ${repourl} /" > /etc/apt/sources.list.d/collabora.list && if [ "$repo" = "repos-snapshot" ]; then curl https://www.collaboraoffice.com/downloads/gpg/collaboraonline-snapshot-keyring.gpg --output /usr/share/keyrings/collaboraonline-snapshot-keyring.gpg; sed -i "s/collaboraonline-release-keyring/collaboraonline-snapshot-keyring/" /etc/apt/sources.list.d/collabora.list; else curl https://www.collaboraoffice.com/downloads/gpg/collaboraonline-release-keyring.gpg --output /usr/share/keyrings/collaboraonline-release-keyring.gpg; fi && apt-get update && apt-get -y install coolwsd coolwsd-deprecated collaboraoffice-dict-* collaboraofficebasis-ar collaboraofficebasis-bg collaboraofficebasis-ca collaboraofficebasis-cs collaboraofficebasis-da collaboraofficebasis-de collaboraofficebasis-el collaboraofficebasis-en-gb collaboraofficebasis-en-us collaboraofficebasis-eo collaboraofficebasis-es collaboraofficebasis-eu collaboraofficebasis-fi collaboraofficebasis-fr collaboraofficebasis-gl collaboraofficebasis-he collaboraofficebasis-hr collaboraofficebasis-hu collaboraofficebasis-id collaboraofficebasis-is collaboraofficebasis-it collaboraofficebasis-ja collaboraofficebasis-ko collaboraofficebasis-lo collaboraofficebasis-nb collaboraofficebasis-nl collaboraofficebasis-oc collaboraofficebasis-pl collaboraofficebasis-pt collaboraofficebasis-pt-br collaboraofficebasis-ru collaboraofficebasis-sk collaboraofficebasis-sl collaboraofficebasis-sq collaboraofficebasis-sv collaboraofficebasis-tr collaboraofficebasis-uk collaboraofficebasis-vi collaboraofficebasis-zh-cn collaboraofficebasis-zh-tw && if [ -z "$nobrand" ]; then if [ "$type" = "cool" ] || [ "$type" = "key" ]; then apt-get -y install collabora-online-brand; else apt-get -y install code-brand; fi; fi && find /opt/cool -user cool -exec chown -h 1001:1001 {} \; && usermod -u 1001 cool && groupmod -g 1001 cool && chown cool:cool /etc/coolwsd/coolwsd.xml && chown cool:cool /etc/coolwsd && dpkg --purge --force-remove-essential --ignore-depends=perl-base perl-base && rm -rf /var/lib/apt/* && rm -rf /etc/coolwsd/proof_key* # buildkit
# 2025-06-19 18:55:05 0.00B 设置环境变量 LC_CTYPE
ENV LC_CTYPE=C.UTF-8
# 2025-06-19 18:55:05 0.00B 定义构建参数
ARG nobrand
# 2025-06-19 18:55:05 0.00B 定义构建参数
ARG type
# 2025-06-19 18:55:05 0.00B 定义构建参数
ARG repo
# 2025-06-19 18:55:05 0.00B 添加元数据标签
LABEL commit.history.online=https://github.com/CollaboraOnline/online/commits/cp-25.04.3-1
# 2025-06-19 18:55:05 0.00B 定义构建参数
ARG onlinetag
# 2025-06-19 18:55:05 0.00B 添加元数据标签
LABEL commit.history.core=https://git.libreoffice.org/core/+log/cp-25.04.3-1
# 2025-06-19 18:55:05 0.00B 定义构建参数
ARG coretag
# 2025-06-19 18:55:05 0.00B 添加元数据标签
LABEL version=25.04.3.1
# 2025-06-19 18:55:05 0.00B 定义构建参数
ARG version
# 2025-06-19 18:55:05 0.00B 添加元数据标签
LABEL release.notes=https://www.collaboraonline.com/code-25-04-release-notes/
# 2025-06-19 18:55:05 0.00B 定义构建参数
ARG releasenotes
# 2025-06-19 18:55:05 0.00B 添加元数据标签
LABEL description=Collabora Online is a powerful collaborative Office suite that supports all major document, spreadsheet and presentation file formats, which you can integrate into your own infrastructure. Collabora Online provides data security and sovereignty, and is ideally suited to the demands of a modern distributed working environment. Delivering a familiar look and feel, Collabora Online represents a real alternative to other big-brands solutions, giving you control and flexibility.
# 2025-06-19 18:55:05 0.00B 添加元数据标签
LABEL author=Collabora Productivity Ltd.
# 2025-06-19 18:55:05 0.00B 定义构建参数
ARG author
# 2025-06-10 08:00:00 74.81MB
# debian.sh --arch 'amd64' out/ 'stable' '@1749513600'
镜像信息
{
"Id": "sha256:73aed52928cfe4cb446745b4c49a15d4ba66978e75f85fcfcc3ae2c145e2244c",
"RepoTags": [
"collabora/code:latest",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/collabora/code:latest"
],
"RepoDigests": [
"collabora/code@sha256:494ea00ed33e4149698e8995a1fb101400f581810fb86a864dc671a734fdb666",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/collabora/code@sha256:f8395c603a1669ac478dba658cedbb1727f912c9cf5b5c806ff9860c9cce519d"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-06-19T11:55:05.830873734+01:00",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "1001",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"9980/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LC_CTYPE=C.UTF-8"
],
"Cmd": null,
"Image": "",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": [
"/start-collabora-online.sh"
],
"OnBuild": null,
"Labels": {
"author": "Collabora Productivity Ltd.",
"commit.history.core": "https://git.libreoffice.org/core/+log/cp-25.04.3-1",
"commit.history.online": "https://github.com/CollaboraOnline/online/commits/cp-25.04.3-1",
"description": "Collabora Online is a powerful collaborative Office suite that supports all major document, spreadsheet and presentation file formats, which you can integrate into your own infrastructure. Collabora Online provides data security and sovereignty, and is ideally suited to the demands of a modern distributed working environment. Delivering a familiar look and feel, Collabora Online represents a real alternative to other big-brands solutions, giving you control and flexibility.",
"release.notes": "https://www.collaboraonline.com/code-25-04-release-notes/",
"version": "25.04.3.1"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 1438981546,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/09be4e6ea25f25376d7eda58695579f168845eecd3c81f544e3af7c70c28bd2d/diff:/var/lib/docker/overlay2/8cad62b4273a38029d564592f1c55bf560958b6d9177e38c7876dc7f662bc39e/diff",
"MergedDir": "/var/lib/docker/overlay2/254c4f99a633b4f258833c16f64d810e5b24e2750aa61fa4f655a3de904d67ac/merged",
"UpperDir": "/var/lib/docker/overlay2/254c4f99a633b4f258833c16f64d810e5b24e2750aa61fa4f655a3de904d67ac/diff",
"WorkDir": "/var/lib/docker/overlay2/254c4f99a633b4f258833c16f64d810e5b24e2750aa61fa4f655a3de904d67ac/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:a6a3287d61938828fc1f1f0034d7aa4c8cda09dfc235ab39614772a5c79b1bde",
"sha256:692cab3057356077cc96a4db0274eb4ac88116d954834d12cccb62b2fdd4ab9f",
"sha256:3ef0eb8af42cca1108a2ae129933a64395988878d33be48276a317712254e935"
]
},
"Metadata": {
"LastTagTime": "2025-06-23T11:38:01.51802336+08:00"
}
}