XCOM NOVA daemon used for landing zone service
295
------------------- HOW TO BUILD -----------------------------------------
In order to reduce the number of docker layers we are using curl instead of copy to add files into docker.
You need an HTTP server with the files you want to copy using curl.
The curl IP cannot be localhost, use the real machine IP
There are many tutorials on how to create an HTTP server:
https://devops.profitbricks.com/tutorials/how-to-set-up-apache-web-server-on-centos-7/
--------------- CREATE HTTP SERVER --------------------------------------------
Instruction (centos and redhat):
sudo yum install httpd -y
sudo nano /etc/selinux/config
sudo firewall-cmd --permanent --add-port=80/tcp sudo firewall-cmd --permanent --add-port=443/tcp sudo firewall-cmd --reload
sudo systemctl start httpd
--------------- BUILDING WITH ARGUMENTS ---------------------------------------
This Dockerfile will accept the following arguments:
Example:
docker build --build-arg CURL_HOST=20.1.67.21 --build-arg XCOM_USER=xtsftp1 --build-arg XCOM_ENCRYPTED_PASSWORD='/x7iSQXb5e40o' -t nova/xcom-daemon:1.1.0 .
Content type
Image
Digest
Size
223.9 MB
Last updated
almost 9 years ago
docker pull bbvacib/xcom-daemon:1.1.0