1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-24 05:17:06 +02:00

21 lines
543 B
Docker
Raw Normal View History

2015-07-08 20:26:36 +08:00
#
# Dockerfile for salt-master
#
FROM debian:jessie
2017-05-08 07:05:07 +08:00
MAINTAINER kev <noreply@easypi.pro>
2015-07-08 20:26:36 +08:00
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 --no-cache-dir 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