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

32 lines
721 B
YAML

---
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
- make
services:
- name: docker
image: shnee/dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}