summaryrefslogtreecommitdiffstats
path: root/tests/roles/binary/tasks/runc.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/roles/binary/tasks/runc.yml')
-rw-r--r--tests/roles/binary/tasks/runc.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/roles/binary/tasks/runc.yml b/tests/roles/binary/tasks/runc.yml
new file mode 100644
index 0000000..d64d5fb
--- /dev/null
+++ b/tests/roles/binary/tasks/runc.yml
@@ -0,0 +1,16 @@
+---
+- name: pull latest runc source from github
+ git:
+ repo: https://github.com/opencontainers/runc
+ dest: "{{ HOME }}/go/src/github.com/opencontainers/runc"
+
+- name: building runc for buildah runtime
+ command: make
+ args:
+ chdir: "{{ HOME }}/go/src/github.com/opencontainers/runc"
+
+- name: copy runc to /usr/bin
+ copy:
+ remote_src: True
+ src: "{{ HOME }}/go/src/github.com/opencontainers/runc/runc"
+ dest: /usr/bin/runc