diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..4a263f7 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,26 @@ +--- +kind: pipeline +name: default + +steps: +- name: test + image: docker:dind + volumes: + - name: dockersock + path: /var/run + commands: + - sleep 5 # give docker enough time to start + - docker ps -a + - ls -la + +services: +- name: docker + image: docker:dind + privileged: true + volumes: + - name: dockersock + path: /var/run + +volumes: +- name: dockersock + temp: {} diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..67d0e40 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM debian:buster-slim + +COPY helloworld.sh / + +ENTRYPOINT ["/helloworld.sh"] diff --git a/helloworld.sh b/helloworld.sh new file mode 100755 index 0000000..23bf47c --- /dev/null +++ b/helloworld.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +echo "Hello World"