init commit
continuous-integration/drone Build is passing
Details
continuous-integration/drone Build is passing
Details
parent
23ee886ba2
commit
20c0a0afb8
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: docker-build
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: greeting
|
||||||
|
image: docker:dind
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run
|
||||||
|
commands:
|
||||||
|
- sleep 5 # give docker enough time to start
|
||||||
|
- docker build . -t shnee/ansible-fedora
|
||||||
|
|
||||||
|
services:
|
||||||
|
- name: docker
|
||||||
|
image: docker:dind
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
temp: {}
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
FROM fedora:latest
|
||||||
|
|
||||||
|
# TODO REM add comment.
|
||||||
|
RUN dnf install -y ansible
|
||||||
Loading…
Reference in New Issue