test
This commit is contained in:
parent
ccecc27770
commit
37c14600ea
2 changed files with 30 additions and 0 deletions
|
@ -4,6 +4,7 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'master'
|
- 'master'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_act:
|
build_act:
|
||||||
|
|
29
compose.yml
Normal file
29
compose.yml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
services:
|
||||||
|
rootless-docker:
|
||||||
|
image: docker:dind-rootless
|
||||||
|
container_name: rootless-docker
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
environment:
|
||||||
|
- DOCKER_HOST=unix:///var/run/docker.sock
|
||||||
|
volumes:
|
||||||
|
- docker-socket:/var/run/docker.sock
|
||||||
|
|
||||||
|
alpine:
|
||||||
|
image: alpine:latest
|
||||||
|
container_name: alpine
|
||||||
|
depends_on:
|
||||||
|
- rootless-docker
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
command: sh -c "while true; do sleep 3600; done"
|
||||||
|
volumes:
|
||||||
|
- docker-socket:/var/run/docker.sock
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
docker-socket:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
internal:
|
||||||
|
driver: bridge
|
||||||
|
|
Loading…
Reference in a new issue