Skip to content

Commit

Permalink
fix: build containerd-shim
Browse files Browse the repository at this point in the history
The containerd-shim binary is required at runtime.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
  • Loading branch information
andrewrynhard committed Oct 12, 2019
1 parent 9e2bec1 commit bf4e6ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion containerd/pkg.yaml
Expand Up @@ -34,12 +34,13 @@ steps:
export GOPATH=/go
export PATH=${PATH}:${TOOLCHAIN}/go/bin
cd ${GOPATH}/src/github.com/containerd/containerd
make bin/containerd bin/containerd-shim-runc-v1 BUILDTAGS='seccomp no_btrfs' VERSION=v1.3.0 REVISION=36cf5b690dcc00ff0f34ff7799209050c3d0c59a
make bin/containerd bin/containerd-shim bin/containerd-shim-runc-v1 BUILDTAGS='seccomp no_btrfs' VERSION=v1.3.0 REVISION=36cf5b690dcc00ff0f34ff7799209050c3d0c59a
install:
- |
mkdir -p /rootfs/bin
export GOPATH=/go
cp ${GOPATH}/src/github.com/containerd/containerd/bin/containerd /rootfs/bin
cp ${GOPATH}/src/github.com/containerd/containerd/bin/containerd-shim /rootfs/bin
cp ${GOPATH}/src/github.com/containerd/containerd/bin/containerd-shim-runc-v1 /rootfs/bin
finalize:
- from: /rootfs
Expand Down

0 comments on commit bf4e6ab

Please sign in to comment.