change scripts dir

This commit is contained in:
Barak Michener 2017-06-05 20:20:05 -07:00
parent f9b7913992
commit e9825ad01a
4 changed files with 72 additions and 72 deletions

23
scripts/build Executable file
View file

@ -0,0 +1,23 @@
#!/usr/bin/env bash
set -exu
# dependencies
apt-get update
apt-get install -y \
curl \
bzip2 \
openssh-client \
qemu-kvm
URL="http://${CL_CHANNEL}.release.core-os.net/amd64-usr/${CL_VERSION}/coreos_production_qemu_image.img.bz2"
echo "Downloading Container Linux $CL_CHANNEL $CL_VERSION $URL"
curl -O $URL
bzip2 -d coreos_production_qemu_image.img.bz2
curl -L https://github.com/coreos/container-linux-config-transpiler/releases/download/v0.3.0/ct-v0.3.0-x86_64-unknown-linux-gnu -o ct
chmod +x ct
apt-get remove -y curl bzip2
apt-get autoremove -y
apt-get clean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*