Skip to content

Instantly share code, notes, and snippets.

@darach
Created December 17, 2015 15:42
Show Gist options
  • Save darach/489a22ba267f985e9eba to your computer and use it in GitHub Desktop.
Save darach/489a22ba267f985e9eba to your computer and use it in GitHub Desktop.
#--------
# 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