1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 05:48:42 +00:00
dockerfiles/salt-master/Dockerfile

21 lines
528 B
Docker
Raw Normal View History

2015-07-08 12:26:36 +00:00
#
# Dockerfile for salt-master
#
FROM debian:jessie
2017-05-07 23:05:07 +00:00
MAINTAINER kev <noreply@easypi.pro>
2015-07-08 12:26:36 +00:00
RUN apt-get update \
2015-07-09 08:13:29 +00:00
&& apt-get install -y curl jq vim-tiny \
2015-07-08 13:21:05 +00:00
&& curl -sSL https://bootstrap.saltstack.com | bash -s -- -M -N -S -X \
2015-07-08 13:19:17 +00:00
&& apt-get install -y salt-ssh \
2015-07-09 08:13:29 +00:00
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python \
&& pip install httpie ipython \
2015-07-08 12:26:36 +00:00
&& rm -rf /var/lib/apt/lists/*
2015-07-08 12:31:17 +00:00
VOLUME /etc/salt /srv/salt
2015-07-08 12:26:36 +00:00
EXPOSE 4505 4506
2015-07-08 12:31:17 +00:00
WORKDIR /srv/salt
2015-07-08 12:26:36 +00:00
CMD salt-master --log-level warning --log-file /dev/stdout