Skip to content

Instantly share code, notes, and snippets.

@jkutner
Last active May 5, 2020 20:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkutner/3114f8e84dcc8c54abacc9c62236d2ea to your computer and use it in GitHub Desktop.
Save jkutner/3114f8e84dcc8c54abacc9c62236d2ea to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
apt update
apt install imagemagick
cat << EOF > ${1}/privileged.toml
[[layers]]
paths = [ "/usr" ]
launch = true
build = true
cache = true
[[layers]]
paths = [ "/var" ]
launch = false
build = false
cache = true
EOF
#!/usr/bin/env bash
apt update
apt install imagemagick
cat << EOF > ${1}/usr.toml
paths = [ "/usr" ]
launch = true
build = true
cache = true
EOF
cat << EOF > ${1}/var.toml
paths = [ "/var" ]
launch = false
build = false
cache = true
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment