Sebastian Denz
3 years ago
3 changed files with 34 additions and 0 deletions
@ -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: {} |
@ -0,0 +1,5 @@ |
|||
FROM debian:buster-slim |
|||
|
|||
COPY helloworld.sh / |
|||
|
|||
ENTRYPOINT ["/helloworld.sh"] |
@ -0,0 +1,3 @@ |
|||
#!/bin/bash |
|||
|
|||
echo "Hello World" |
Loading…
Reference in new issue