buildah/tests/roles/github/tasks/runc.yml

17 lines
480 B
YAML
Raw Normal View History

---
- name: pull latest runc source from github
git:
repo: https://github.com/opencontainers/runc
dest: "{{ ansible_env.HOME }}/go/src/github.com/opencontainers/runc"
- name: building runc for buildah runtime
command: make
args:
chdir: "{{ ansible_env.HOME }}/go/src/github.com/opencontainers/runc"
- name: copy runc to /usr/bin
copy:
remote_src: True
src: "{{ ansible_env.HOME }}/go/src/github.com/opencontainers/runc/runc"
dest: /usr/bin/runc