mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-08-25 16:55:59 +00:00
Merge pull request #3 from mrkz/ciao-deploy
Add `ciao-deploy` Dockerfile
This commit is contained in:
@@ -6,6 +6,7 @@ https://hub.docker.com/u/clearlinux/
|
||||
|
||||
Containers
|
||||
----------
|
||||
- Ciao-deploy
|
||||
- CIAO-WebUI
|
||||
- Keystone
|
||||
- MariaDB
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
FROM clearlinux
|
||||
MAINTAINER marcos.simental.magana@intel.com
|
||||
|
||||
ARG swupd_args
|
||||
ENV HOME=/root/
|
||||
|
||||
RUN swupd bundle-add sysadmin-hostmgmt go-basic c-basic kvm-host openstack-common $swupd_args
|
||||
|
||||
RUN cp -r /usr/share/ansible/examples/ciao /root/
|
||||
RUN ansible-galaxy install -r /root/ciao/requirements.yml --ignore-certs
|
||||
|
||||
RUN rm -rf /var/lib/swupd
|
||||
|
||||
CMD 'bash'
|
||||
@@ -0,0 +1,47 @@
|
||||
Ciao Deploy
|
||||
==========
|
||||
[](http://microbadger.com/images/clearlinux/ciao-deploy "Get your own image badge on microbadger.com")
|
||||
[](http://microbadger.com/images/clearlinux/ciao-deploy "Get your own version badge on microbadger.com")
|
||||
|
||||
This provides a ciao deployment container.
|
||||
|
||||
Build
|
||||
-----
|
||||
```
|
||||
docker build -t clearlinux/ciao-deploy .
|
||||
```
|
||||
|
||||
Or just pull it from Dockerhub
|
||||
------------------------------
|
||||
```
|
||||
docker pull clearlinux/ciao-deploy
|
||||
```
|
||||
|
||||
Run the Ciao-deploy Container
|
||||
----------------------------
|
||||
```
|
||||
docker run -it clearlinux/ciao-deploy
|
||||
```
|
||||
|
||||
If you have setup your ssh key for the ansible setup, you may want to use it
|
||||
in your ciao-deploy container:
|
||||
|
||||
```
|
||||
docker run -v /path/to/your/.ssh/key:/root/.ssh/key \
|
||||
-it clearlinux/ciao-deploy
|
||||
```
|
||||
|
||||
Setup your cluster configuration
|
||||
--------------------------------
|
||||
You may need to edit `/root/ciao/group_vars/all` and `/root/ciao/hosts` to
|
||||
suit your cluster setup needs.
|
||||
|
||||
For more detailed instructions you may want to check
|
||||
[Deploying ciao via automation](https://clearlinux.org/documentation/ciao-deploy.html)
|
||||
documentation.
|
||||
|
||||
Extra Build ARGs
|
||||
----------------
|
||||
- ``swupd_args`` Specifies [SWUPD](https://clearlinux.org/documentation/swupdate_how_to_run_the_updater.html) flags
|
||||
|
||||
Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#/arg
|
||||
Reference in New Issue
Block a user