cloudsidedev / appside

Multitenant environment automation.
http://cloudside.ch
GNU Affero General Public License v3.0
38 stars 7 forks source link

appflow exec container #88

Closed ivomarino closed 7 years ago

ivomarino commented 7 years ago

We want to run the AppFlow executor directly as a Docker container. First we must evaluate if we want to use Alpine Linux or Debian GNU/Linux as base. Useful: https://github.com/William-Yeh/docker-ansible Will be implemented in https://github.com/ttssdev/appflow/tree/88-appflow-exec-container.

ivomarino commented 7 years ago

Standalone app would be something like https://spin.atomicobject.com/2015/11/30/command-line-tools-docker/, this starts working: docker run --name appflow --rm -it --volumes-from=ssh-agent -v $HOME/.appflow:/home/appflow/.appflow -v $HOME/dotfiles:/home/appflow/dotfiles -e SSH_AUTH_SOCK=/ssh/auth/sock -e ANSIBLE_HOST_KEY_CHECKING=False -e ANSIBLE_REMOTE_USER=$USER appflow provision tags=hosts

ivomarino commented 7 years ago

merged 88-appflow-exec-container into master: https://github.com/ttssdev/appflow/pull/89.