summaryrefslogtreecommitdiffstats
path: root/saltstack-server/src/main/docker/Dockerfile
diff options
context:
space:
mode:
authorGanesh Chandrasekaran <ganesh.c@samsung.com>2019-02-12 15:01:25 +0900
committerGanesh Chandrasekaran <ganesh.c@samsung.com>2019-02-12 15:03:32 +0900
commit8ba2cee45f88c64d096dbbb29e73741403f747d1 (patch)
tree9abbe0f84a040c11b206a511d2bc2bcf8ca6d34e /saltstack-server/src/main/docker/Dockerfile
parent5af3a898f344f822167895a4e5954ee43fa1e2e1 (diff)
Base for saltstack server
Issue-ID: CCSDK-1048 Change-Id: Ic177428fd9fb111919f4bfbd0978464a19ac75ab Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
Diffstat (limited to 'saltstack-server/src/main/docker/Dockerfile')
-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