diff options
author | Loïc Hoguin <[email protected]> | 2018-04-18 00:27:06 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-04-18 11:06:34 +0200 |
commit | e5311de35216cc541978c10a8f2cf8204acc7b94 (patch) | |
tree | 2346f74a488585a77fd1680cc1c827ee549bb9e0 /ci.d/apk | |
download | ci-e5311de35216cc541978c10a8f2cf8204acc7b94.tar.gz ci-e5311de35216cc541978c10a8f2cf8204acc7b94.tar.bz2 ci-e5311de35216cc541978c10a8f2cf8204acc7b94.zip |
Initial commit
Sets up LXC containers for CI for Alpine, Arch Linux,
CentOS, Debian and Ubuntu. Currently only tested against
Cowlib, it's likely that more packages need to be installed
for the other projects.
Diffstat (limited to 'ci.d/apk')
-rw-r--r-- | ci.d/apk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ci.d/apk b/ci.d/apk new file mode 100644 index 0000000..e622754 --- /dev/null +++ b/ci.d/apk @@ -0,0 +1,11 @@ +#!/usr/bin/env sh + +# apk_upgrade +apk_upgrade() { + lxc_do apk upgrade +} + +# apk_install $PACKAGES +apk_install() { + lxc_do apk add "$@" +} |