Skip to content

Instantly share code, notes, and snippets.

@bobrik
Last active June 21, 2016 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bobrik/a7972c4cc9d8232f6b1ba9a0dff3a2cc to your computer and use it in GitHub Desktop.
Save bobrik/a7972c4cc9d8232f6b1ba9a0dff3a2cc to your computer and use it in GitHub Desktop.
FROM debian:jessie
ARG SALT_VERSION
RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv 0E08A149DE57BFBE && \
echo "deb http://repo.saltstack.com/apt/debian/8/amd64/${SALT_VERSION} jessie main" > /etc/apt/sources.list.d/saltstack.list && \
apt-get update && \
apt-get install -y salt-minion
RUN mkdir -p /srv/salt && \
echo '{"dbus":{"pkg":["installed"],"service.running":[{"require":[{"pkg":"dbus"}]}]}}' > /srv/salt/test.sls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment