Created
December 17, 2015 15:42
-
-
Save darach/489a22ba267f985e9eba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-------- | |
# Dockerfile to configure salt minion | |
FROM debian:jessie | |
MAINTAINER [email protected] | |
RUN apt-get update | |
RUN apt-get install -y curl | |
RUN curl -o - https://repo.saltstack.com/apt/debian/8/amd64/latest/SALTSTACK-GPG-KEY.pub | | |
apt-key add - | |
RUN echo "deb http://repo.saltstack.com/apt/debian/8/amd64/latest jessie main" >> /etc/apt | |
/sources.list | |
RUN apt-get install -y salt-minion | |
# RUN [ ! -d /etc/salt/minion.d ] && mkdir /etc/salt/minion.d | |
ADD ./master.conf /etc/salt/minion.d/master.conf | |
CMD /usr/bin/salt-minion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment