Compare commits

...

3 Commits

Author SHA1 Message Date
shnee 70d42722df Add 'docker build' step to pipeline.
continuous-integration/drone/push Build is passing Details
4 years ago
shnee f2a099fd5d pipeline debug
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone Build is passing Details
4 years ago
shnee a855c6646c drone test
continuous-integration/drone/push Build is failing Details
4 years ago

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

@ -0,0 +1,9 @@
FROM manjarolinux/base:latest
# Install ansible.
#
# python is already isntalled on this base image therefore we don't have to
# reinstall.
RUN pacman -S \
--noconfirm \
ansible
Loading…
Cancel
Save