29 lines
735 B

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