Created
May 4, 2018 02:51
-
-
Save dreampuf/6446936e84dc5c965ec947fb4080b032 to your computer and use it in GitHub Desktop.
Build gvisor from centos:latest container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone --depth 1 https://github.com/google/gvisor.git | |
cd gvisor | |
docker --rm -it "$PWD":/opt/gvisor -w /opt/gvisor centos bash | |
curl -O /etc/yum.repos.d/vbatts-bazel-epel-7.repo https://copr.fedorainfracloud.org/coprs/vbatts/bazel/repo/epel-7/vbatts-bazel-epel-7.repo | |
yum install -y epel-release bazel gcc gcc-c++ git protobuf-devel protobuf-lite-devel | |
env CC=/usr/bin/gcc bazel build runsc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment