summaryrefslogtreecommitdiffstats
path: root/saltstack-server/src/main/docker
diff options
context:
space:
mode:
Diffstat (limited to 'saltstack-server/src/main/docker')
-rw-r--r--saltstack-server/src/main/docker/Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/saltstack-server/src/main/docker/Dockerfile b/saltstack-server/src/main/docker/Dockerfile
new file mode 100644
index 00000000..f2e486eb
--- /dev/null
+++ b/saltstack-server/src/main/docker/Dockerfile
@@ -0,0 +1,13 @@
+FROM centos:7
+
+
+RUN yum clean all && \
+ yum install -y yum install epel-release && \
+ yum install -y https://repo.saltstack.com/yum/redhat/salt-repo-latest-1.el7.noarch.rpm && \
+ yum update -y && \
+ yum install -y sudo git tmux vim salt-master salt-minion && \
+ yum clean all
+
+EXPOSE 4505 4506
+
+CMD /usr/bin/salt-master -d; /bin/bash \ No newline at end of file