Some Initial Work

This commit is contained in:
2023-01-30 16:41:55 -05:00
parent 5ced3b0bd4
commit 468f93cbe6
3 changed files with 190 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
---
kind: pipeline
type: docker
name: docker-build
steps:
- name: docker build
# When using 20.10 there is an issue when running on hosts with older
# versions of docker, runc, and libseccomp. See
# https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2
# for info on the issue. So to avoid the bug we're using an older version,
# 19.03.
image: shnee/dind
volumes:
- name: dockersock
path: /var/run
commands:
- sleep 5 # give docker enough time to start
"{{ docker_build_yaml }}"
services:
- name: docker
image: shnee/dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}