summaryrefslogtreecommitdiff
path: root/hot/software-config/heat-container-agent/README.rst
blob: 525f8fb7245369f4e4ac8b694b488bb7e38d94a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
=======================================================
Steps to build container image with all container hooks
=======================================================

Install the heat-agents repo alongside heat-templates. Some file in this
directory are symlinks that assume the presence of the heat-agents directory in
the same directory as the heat-templates directory.

Docker build does not work with soft links. Therefore, convert all
soft links to hardlinks.

 $ find -type l -exec bash -c 'ln -f "$(readlink -m "$0")" "$0"' {} \;

Build docker image with container hooks.

  $docker build -t xxxx/heat-container-agent ./

Push the image to docker hub.

  $docker push xxxx/heat-container-agent