Ganesh Chandrasekaran | 8ba2cee | 2019-02-12 15:01:25 +0900 | [diff] [blame] | 1 | FROM centos:7 |
| 2 | |
| 3 | |
| 4 | RUN yum clean all && \ |
| 5 | yum install -y yum install epel-release && \ |
Timoney, Dan (dt5972) | 6892085 | 2019-02-15 15:14:50 -0500 | [diff] [blame] | 6 | yum install -y https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el7.noarch.rpm && \ |
Ganesh Chandrasekaran | 8ba2cee | 2019-02-12 15:01:25 +0900 | [diff] [blame] | 7 | yum update -y && \ |
| 8 | yum install -y sudo git tmux vim salt-master salt-minion && \ |
| 9 | yum clean all |
| 10 | |
| 11 | EXPOSE 4505 4506 |
| 12 | |
Timoney, Dan (dt5972) | 6892085 | 2019-02-15 15:14:50 -0500 | [diff] [blame] | 13 | CMD /usr/bin/salt-master -d; /bin/bash |