
docker/build/compass is for building compass docker image, which should be triggered automatically by CI(or other periodic jobs). under docker/build/scripts there is a sample start that can be included in Dockerfile(uncomment CMD["/root/sample_start"] when testing this image build. Change-Id: I05dbbde67bd82803971cf3f90a8dbea6d57b0776
14 lines
364 B
Docker
14 lines
364 B
Docker
FROM compassindocker/compass:test
|
|
|
|
ADD scripts/start /root/start
|
|
ADD conf/compass.setting /etc/compass/setting
|
|
ADD conf/cobbler.conf /etc/compass/os_installer/cobbler.conf
|
|
ADD conf/chef-icehouse.conf /etc/compass/package_installer/chef-icehouse.conf
|
|
ADD conf/chef-client.pem /etc/chef-client.pem
|
|
|
|
RUN chmod +x /root/start
|
|
|
|
CMD ["/root/start"]
|
|
EXPOSE 80
|
|
EXPOSE 123
|