DockrampDocker 容器镜像构建工具
Dockramp 是一个客户端驱动的 Docker 容器镜像构建工具。
主要特性:
-
没有上下文上传
-
高效分层和缓存
-
更丰富和扩展性更强的 Dockerfile 语法
安装:
project_dir="$HOME/dockramp/src/github.com/jlhawn/dockramp" mkdir -p $project_dir git clone https://github.com/jlhawn/dockramp.git $project_dir GOPATH="$project_dir/Godeps/_workspace:$HOME/dockramp" go build -o /usr/local/bin/dockramp github.com/jlhawn/dockramp/cmd/dockramp
使用:
$ # Executes the Dockerfile in this repository. $ dockramp Step 0: FROM golang:1.4.2 Step 1: MAINTAINER "Josh Hawn <jlhawn@docker.com> (github:jlhawn)" Step 2: ENV PROJ_DIR /go/src/github.com/jlhawn/dockramp Step 3: RUN sh -c "mkdir -p $PROJ_DIR" ---> 0744c1be2f5fb40c355bace595171c180f2a7b2d19ec15e0c92da2fa0c1d7198 Step 4: COPY . /go/src/github.com/jlhawn/dockramp ---> 8a40aa285e0ecc70ba5361085ef2faf0e755a8dbf7f2224b377c5c0035dc22a5 Step 5: RUN sh Input: export GOPATH="$PROJ_DIR/Godeps/_workspace:$GOPATH" go build -o /usr/local/bin/dockramp github.com/jlhawn/dockramp/cmd/dockramp ---> 029e66e2587118f5f6c5176da65ffbde3b501b25136a637c3d700ee369104374 Successfully built 029e66e2587118f5f6c5176da65ffbde3b501b25136a637c3d700ee369104374 You can use the -C flag to specify a directory to use as the build context. You can also specify any Dockerfile with the -f flag (this file does not need to be within the context directory!). dockramp also supports many of the standard options used by docker and uses many of the same environment variables and configuration files used by docker as well. Here is the full list of currently supported arguments: $ dockramp --help Usage of dockramp: --cacert="": Trust certs signed only by this CA --cert="": TLS client certificate --key="": TLS client key --tls=false: Use TLS client cert/key (implied by --tlsverify) --tlsverify=true: Use TLS and verify the remote server certificate -C=".": Build context directory -H="": Docker daemon socket/host to connect to -d=false: enable debug output -f="": Path to Dockerfile -t="": Repository name (and optionally a tag) for the image
评论
Buildpacks容器镜像构建工具
Buildpacks是CNCF的一个孵化级项目,可以将源代码转换为可以在任何云上运行的图像。该项目最初由Heroku于2011年构思。从那时起,它们已被CloudFoundry和其他PaaS所采用,例
Buildpacks容器镜像构建工具
0
ShipwrightKubernetes 容器镜像构建框架
Shipwright是一个可扩展的框架,用于在Kubernetes上构建容器镜像。有了Shipwright,开发者就可以通过定义一个最小的YAML,得到一个简化的方法来构建容器镜像,而不需要以前有任何
ShipwrightKubernetes 容器镜像构建框架
0
ShipwrightKubernetes 容器镜像构建框架
Shipwright 是一个可扩展的框架,用于在 Kubernetes 上构建容器镜像。有了 Shi
ShipwrightKubernetes 容器镜像构建框架
0
BuildKit镜像构建工具
BuildKit是Docker官方社区推出的下一代镜像构建神器--可以更加快速、有效、安全地构建docker镜像。主要特点:自动 garbagecollection可扩展的前端格式并发依赖解析高效的指
BuildKit镜像构建工具
0