1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:34 +02:00
dockerfiles/salt-master/Dockerfile
2016-05-01 09:06:20 +08:00

21 lines
529 B
Docker

#
# Dockerfile for salt-master
#
FROM debian:jessie
MAINTAINER kev <noreply@easypi.info>
RUN apt-get update \
&& apt-get install -y curl jq vim-tiny \
&& curl -sSL https://bootstrap.saltstack.com | bash -s -- -M -N -S -X \
&& apt-get install -y salt-ssh \
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python \
&& pip install httpie ipython \
&& rm -rf /var/lib/apt/lists/*
VOLUME /etc/salt /srv/salt
EXPOSE 4505 4506
WORKDIR /srv/salt
CMD salt-master --log-level warning --log-file /dev/stdout