mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-12 11:14:57 +02:00
19 lines
418 B
Docker
19 lines
418 B
Docker
#
|
|
# Dockerfile for salt-master
|
|
#
|
|
|
|
FROM debian:jessie
|
|
MAINTAINER kev <noreply@datageek.info>
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y curl \
|
|
&& curl -sSL https://bootstrap.saltstack.com | bash -s -- -M -N -S -X \
|
|
&& apt-get install -y salt-ssh \
|
|
&& 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
|