1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-20 04:59:25 +02:00

21 lines
531 B
Docker
Raw Normal View History

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