Saltstack Official Nginx Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 line
356B

  1. FROM simplyadrian/allsalt:{{ image_tag }}
  2. {% if 'debian' in image_tag or 'ubuntu' in image_tag -%}
  3. RUN apt-get update && \
  4. apt-get install -y python-pip
  5. {% endif %}
  6. RUN pip install pytest && \
  7. sed -i "s/#master: salt/master: localhost/g" /etc/salt/minion
  8. ADD tests/srv /srv
  9. ADD {{ formula_name }} /srv/salt/{{ formula_name }}
  10. WORKDIR /srv/salt