Skip to content

Instantly share code, notes, and snippets.

@pfichtner
Created April 25, 2018 18:06
Show Gist options
  • Select an option

  • Save pfichtner/713c0251ecb8576a88680c47b5bce890 to your computer and use it in GitHub Desktop.

Select an option

Save pfichtner/713c0251ecb8576a88680c47b5bce890 to your computer and use it in GitHub Desktop.
create the razor microkernel using a docker container
git clone https://github.com/puppetlabs/razor-el-mk.git
docker run -i --privileged -e http_proxy=$http_proxy -e https_proxy=$https_proxy -v $PWD:/opt --rm centos /bin/sh <<EOF
cd /opt/razor-el-mk/
yum -y install git ruby livecd-tools
gem update --system && gem install rake bundler
setenforce 0
bundle install --path .bundle/gems/
bundle exec rake build
./build-livecd
./build-livecd-root
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment