29 lines
735 B

#!/bin/bash
set -eux # -x for verbose logging to juju debug-log
##
## add files
##
cp src/usr/local/sbin/* src/usr/local/sbin/
## Could consider not using docker inside the LXC for compatibility
## reason in this case you need to setup a --lts connection. You can
## use "DOCKER_MAIN_OPTS" to add this to every usage of docker one
## 0k-docker is installed.
## install
## - 0k-docker for docker-build-charm
ln -sf /opt/apps/0k-docker/bin/docker-build-charm /usr/local/sbin
## - 0k-charm for charms
ln -sf /opt/apps/0k-charms/precise /srv/charm-store
apt-get install python-pip ## for 'pip install shyaml'
pip install shyaml ## for docker-build-charm
apt-get install kal-shlib-pretty ## for docker-build-charm