docker.io/meltwater/drone-cache:v1.4.0 linux/amd64

docker.io/meltwater/drone-cache:v1.4.0 - 国内下载镜像源 浏览次数:41
```html

这是一个用于Drone CI/CD系统的缓存镜像,由Meltwater公司提供。

它旨在提高Drone构建的效率,通过缓存构建过程中生成的依赖项和中间产物来减少构建时间。

使用该镜像可以显著加快后续构建的速度,特别是在处理大型项目或依赖项较多的情况下。

```
源镜像 docker.io/meltwater/drone-cache:v1.4.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/meltwater/drone-cache:v1.4.0
镜像ID sha256:70c4bf9358f465139ecec2e076d1673d30ca84f87191db6378ccfacb24497611
镜像TAG v1.4.0
大小 26.63MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /bin/drone-cache
工作目录 /
OS/平台 linux/amd64
浏览量 41 次
贡献者
镜像创建 2022-10-06T18:53:58.390340717Z
同步时间 2025-03-18 11:14
更新时间 2025-04-03 22:23
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
镜像标签
A Drone plugin for caching current workspace files between builds to reduce your build times.: description Kemal Akkoyun <kakkoyun@gmail.com>: maintainer drone-cache: name 2022-10-06T18:48:23Z: org.label-schema.build-date A Drone plugin for caching current workspace files between builds to reduce your build times.: org.label-schema.description docker run --rm -v '$(pwd)':/app -e DRONE_REPO=octocat/hello-world -e DRONE_REPO_BRANCH=master -e DRONE_COMMIT_BRANCH=master -e PLUGIN_MOUNT=/app/node_modules -e PLUGIN_RESTORE=false -e PLUGIN_REBUILD=true -e PLUGIN_BUCKET=<bucket> -e AWS_ACCESS_KEY_ID=<token> -e AWS_SECRET_ACCESS_KEY=<secret> meltwater/drone-cache: org.label-schema.docker.cmd Dockerfile: org.label-schema.docker.dockerfile drone-cache: org.label-schema.name 1.0: org.label-schema.schema-version https://underthehood.meltwater.com/drone-cache: org.label-schema.usage d306c36aaf6ce498b354c1feefe8c9b9b74ad1f0: org.label-schema.vcs-ref https://github.com/meltwater/drone-cache: org.label-schema.vcs-url meltwater: org.label-schema.vendor 1.4.0: org.label-schema.version Kemal Akkoyun <kakkoyun@gmail.com>: org.opencontainers.image.authors 2022-10-06T18:48:23Z: org.opencontainers.image.created A Drone plugin for caching current workspace files between builds to reduce your build times.: org.opencontainers.image.description https://underthehood.meltwater.com/drone-cache: org.opencontainers.image.documentation Apache-2.0: org.opencontainers.image.licenses drone-cache: org.opencontainers.image.name d306c36aaf6ce498b354c1feefe8c9b9b74ad1f0: org.opencontainers.image.revision https://github.com/meltwater/drone-cache/blob/master/Dockerfile: org.opencontainers.image.source drone-cache: org.opencontainers.image.title https://github.com/meltwater/drone-cache: org.opencontainers.image.url meltwater: org.opencontainers.image.vendor 1.4.0: org.opencontainers.image.version meltwater: vendor 1.4.0: version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/meltwater/drone-cache:v1.4.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/meltwater/drone-cache:v1.4.0  docker.io/meltwater/drone-cache:v1.4.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/meltwater/drone-cache:v1.4.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/meltwater/drone-cache:v1.4.0  docker.io/meltwater/drone-cache:v1.4.0

Shell快速替换命令

sed -i 's#meltwater/drone-cache:v1.4.0#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/meltwater/drone-cache:v1.4.0#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/meltwater/drone-cache:v1.4.0 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/meltwater/drone-cache:v1.4.0  docker.io/meltwater/drone-cache:v1.4.0'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/meltwater/drone-cache:v1.4.0 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/meltwater/drone-cache:v1.4.0  docker.io/meltwater/drone-cache:v1.4.0'

镜像构建历史


# 2022-10-07 02:53:58  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/bin/drone-cache"]
                        
# 2022-10-07 02:53:58  0.00B 添加元数据标签
LABEL vendor=meltwater name=drone-cache description=A Drone plugin for caching current workspace files between builds to reduce your build times. maintainer=Kemal Akkoyun <kakkoyun@gmail.com> org.label-schema.description=A Drone plugin for caching current workspace files between builds to reduce your build times. org.label-schema.docker.cmd=docker run --rm -v '$(pwd)':/app -e DRONE_REPO=octocat/hello-world -e DRONE_REPO_BRANCH=master -e DRONE_COMMIT_BRANCH=master -e PLUGIN_MOUNT=/app/node_modules -e PLUGIN_RESTORE=false -e PLUGIN_REBUILD=true -e PLUGIN_BUCKET=<bucket> -e AWS_ACCESS_KEY_ID=<token> -e AWS_SECRET_ACCESS_KEY=<secret> meltwater/drone-cache org.label-schema.vcs-url=https://github.com/meltwater/drone-cache org.label-schema.vendor=meltwater org.label-schema.usage=https://underthehood.meltwater.com/drone-cache org.opencontainers.image.authors=Kemal Akkoyun <kakkoyun@gmail.com> org.opencontainers.image.url=https://github.com/meltwater/drone-cache org.opencontainers.image.documentation=https://underthehood.meltwater.com/drone-cache org.opencontainers.image.source=https://github.com/meltwater/drone-cache/blob/master/Dockerfile org.opencontainers.image.vendor=meltwater org.opencontainers.image.licenses=Apache-2.0 org.opencontainers.image.title=drone-cache org.opencontainers.image.description=A Drone plugin for caching current workspace files between builds to reduce your build times.
                        
# 2022-10-07 02:53:58  24.67MB 复制新文件或目录到容器中
COPY drone-cache /bin/drone-cache # buildkit
                        
# 2022-10-07 02:53:58  200.31KB 复制新文件或目录到容器中
COPY /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ # buildkit
                        
# 2022-10-07 02:53:58  1.77MB 复制新文件或目录到容器中
COPY /usr/share/zoneinfo /usr/share/zoneinfo # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:70c4bf9358f465139ecec2e076d1673d30ca84f87191db6378ccfacb24497611",
    "RepoTags": [
        "meltwater/drone-cache:v1.4.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/meltwater/drone-cache:v1.4.0"
    ],
    "RepoDigests": [
        "meltwater/drone-cache@sha256:f4429bda3e4f2af2cceb40deee10b8cc5613aae7c8b08ad15c54109cad7fa9a3",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/meltwater/drone-cache@sha256:d7788c94b57e97366952e4572a1457b25777db437a863dc96f0f77e3ca352fb0"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2022-10-06T18:53:58.390340717Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": [
            "/bin/drone-cache"
        ],
        "OnBuild": null,
        "Labels": {
            "description": "A Drone plugin for caching current workspace files between builds to reduce your build times.",
            "maintainer": "Kemal Akkoyun \u003ckakkoyun@gmail.com\u003e",
            "name": "drone-cache",
            "org.label-schema.build-date": "2022-10-06T18:48:23Z",
            "org.label-schema.description": "A Drone plugin for caching current workspace files between builds to reduce your build times.",
            "org.label-schema.docker.cmd": "docker run --rm -v '$(pwd)':/app -e DRONE_REPO=octocat/hello-world -e DRONE_REPO_BRANCH=master -e DRONE_COMMIT_BRANCH=master -e PLUGIN_MOUNT=/app/node_modules -e PLUGIN_RESTORE=false -e PLUGIN_REBUILD=true -e PLUGIN_BUCKET=\u003cbucket\u003e -e AWS_ACCESS_KEY_ID=\u003ctoken\u003e -e AWS_SECRET_ACCESS_KEY=\u003csecret\u003e meltwater/drone-cache",
            "org.label-schema.docker.dockerfile": "Dockerfile",
            "org.label-schema.name": "drone-cache",
            "org.label-schema.schema-version": "1.0",
            "org.label-schema.usage": "https://underthehood.meltwater.com/drone-cache",
            "org.label-schema.vcs-ref": "d306c36aaf6ce498b354c1feefe8c9b9b74ad1f0",
            "org.label-schema.vcs-url": "https://github.com/meltwater/drone-cache",
            "org.label-schema.vendor": "meltwater",
            "org.label-schema.version": "1.4.0",
            "org.opencontainers.image.authors": "Kemal Akkoyun \u003ckakkoyun@gmail.com\u003e",
            "org.opencontainers.image.created": "2022-10-06T18:48:23Z",
            "org.opencontainers.image.description": "A Drone plugin for caching current workspace files between builds to reduce your build times.",
            "org.opencontainers.image.documentation": "https://underthehood.meltwater.com/drone-cache",
            "org.opencontainers.image.licenses": "Apache-2.0",
            "org.opencontainers.image.name": "drone-cache",
            "org.opencontainers.image.revision": "d306c36aaf6ce498b354c1feefe8c9b9b74ad1f0",
            "org.opencontainers.image.source": "https://github.com/meltwater/drone-cache/blob/master/Dockerfile",
            "org.opencontainers.image.title": "drone-cache",
            "org.opencontainers.image.url": "https://github.com/meltwater/drone-cache",
            "org.opencontainers.image.vendor": "meltwater",
            "org.opencontainers.image.version": "1.4.0",
            "vendor": "meltwater",
            "version": "1.4.0"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 26632670,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/f76aed520b4fc0437db9d2c7f9e4b72827fe250eddcbd09cdf494b2966a230b8/diff:/var/lib/docker/overlay2/b2c50e4da2c446dbb17d95496be8b0bdeb10d4326a1986f9b9106b3cfb6b9da0/diff",
            "MergedDir": "/var/lib/docker/overlay2/a654fe1c8f8b0f179a534efebf86e8d589e4647d66c96f37edff2ece2e780158/merged",
            "UpperDir": "/var/lib/docker/overlay2/a654fe1c8f8b0f179a534efebf86e8d589e4647d66c96f37edff2ece2e780158/diff",
            "WorkDir": "/var/lib/docker/overlay2/a654fe1c8f8b0f179a534efebf86e8d589e4647d66c96f37edff2ece2e780158/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:e5126690ef04be7ed7fa9c2e40f59664647da420c6b56a07bb5dc57279c8c1c5",
            "sha256:20a151cdf10d419240878c3c81ed8d5304520fd1f8d0847c50d6fab217836da0",
            "sha256:603cdfcdf17d7c4b9c017c13d283ca71769e19d1f2f988bc65b6b3495a7c60d7"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-03-18T11:14:42.333120468+08:00"
    }
}

更多版本

docker.io/meltwater/drone-cache:v1.4.0

linux/amd64 docker.io26.63MB2025-03-18 11:14
40