Added testers
This commit is contained in:
parent
5aef81dac4
commit
1e3fb006db
@ -6,6 +6,6 @@ sudo ebuildtester \
|
||||
--update \
|
||||
--unstable \
|
||||
--rm \
|
||||
--portage-dir /home/yorune/git/dev/gentoo \
|
||||
--overlay-dir /home/yorune/git/dev/guru
|
||||
--portage-dir "$HOME/git/dev/gentoo" \
|
||||
--overlay-dir "$HOME/git/dev/guru" \
|
||||
--atom "$@"
|
17
.local/bin/tester-ubuntu
Executable file
17
.local/bin/tester-ubuntu
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
docker stop "$(docker ps --all | grep -i ubuntu | awk '{print $1}')" > /dev/null
|
||||
docker rm "$(docker ps --all | grep -i ubuntu | awk '{print $1}')" > /dev/null
|
||||
docker pull jrei/systemd-ubuntu:latest
|
||||
docker run \
|
||||
-d \
|
||||
-v $HOME/git/dev:/opt \
|
||||
--tmpfs /tmp \
|
||||
--tmpfs /run \
|
||||
--tmpfs /run/lock \
|
||||
--privileged \
|
||||
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
|
||||
jrei/systemd-ubuntu
|
||||
container="$(docker ps --all | grep -i ubuntu | awk '{print $1}')"
|
||||
sleep 15 && docker exec -it "$container" /bin/bash
|
||||
docker stop "$container"
|
||||
docker rm "$container"
|
Loading…
Reference in New Issue
Block a user