Description
Currently, the dependencies such as containerd and runc are not pinned by the hash:
|
: "${CONTAINERD_VERSION:=v2.2.0}" |
|
|
|
install_containerd() ( |
|
echo "Install containerd version $CONTAINERD_VERSION" |
|
git clone https://github.com/containerd/containerd.git "$GOPATH/src/github.com/containerd/containerd" |
|
cd "$GOPATH/src/github.com/containerd/containerd" |
|
git checkout -q "$CONTAINERD_VERSION" |
These dependencies are also consumed by docker-ce-packaging here: https://github.com/docker/docker-ce-packaging/blob/7e726fa319c261676d06b6ae10c04a3df80e4c48/static/Makefile#L43-L58
Tasks:
Previous attempts:
Description
Currently, the dependencies such as containerd and runc are not pinned by the hash:
moby/hack/dockerfile/install/containerd.installer
Lines 13 to 19 in a1836eb
These dependencies are also consumed by docker-ce-packaging here: https://github.com/docker/docker-ce-packaging/blob/7e726fa319c261676d06b6ae10c04a3df80e4c48/static/Makefile#L43-L58
Tasks:
RUN git clone <GITURL>toADD <GITURL>Dockerfile: use Git SourceOp #51638go install @TAGto useADD <GITURL>Dockerfile: use Git SourceOp #51638ADD <GITHRL>rm -r hack/dockerfile/install #51640(Reverted: hack: Restore rootlesskit and tini installers #51733)ADD <GITURL>, or maybeCOPY --from=docker:VERSION /usr/local/bin/dockerrm hack/dockerfile/cli.sh #51639Dockerfile.rego(examples: https://github.com/tonistiigi/buildx-rego-examples) to pin the dependenciesPrevious attempts: