Skip to content

Instantly share code, notes, and snippets.

Created November 2, 2016 13:42
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 anonymous/7e31397744914ad05b4f255871dd6be0 to your computer and use it in GitHub Desktop.
Save anonymous/7e31397744914ad05b4f255871dd6be0 to your computer and use it in GitHub Desktop.
include:
- docker.config
remove_images:
dockerng.image_absent:
- name: docker/{{pillar ["app"] }}:latest
docker/{{pillar ["app"] }}:latest:
dockerng.image_present:
- build: /docker/{{pillar ["app"] }}
FROM {{ image }}
RUN zypper ref -s
FROM {{ image }}
RUN zypper ref -s
{% for item in packagelist %}
RUN zypper --non-interactive in {{ item }}
{% endfor %}
FROM {{ image }}
RUN zypper ref -s
RUN zypper --non-interactive in python
ID: docker/nba:latest
Function: dockerng.image_present
Result: False
Comment: Encountered error building /docker/nba as docker/nba:latest: tuple index out of range
Started: 13:36:07.946630
Duration: 4997.39 ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment