17 lines
379 B
Bash
Executable file
17 lines
379 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -exu
|
|
|
|
# dependencies
|
|
apt-get update
|
|
apt-get install -y \
|
|
curl \
|
|
openssh-client \
|
|
qemu-kvm
|
|
|
|
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/*
|