~comcloudway/builds.sr.ht

acd30caf5c62c52581bd02e6ed5d9af08fe7eb76 — Drew DeVault 5 years ago 49bc3d8
Add --rm to docker run
1 files changed, 1 insertions(+), 0 deletions(-)

M images/control
M images/control => images/control +1 -0
@@ 45,6 45,7 @@ _docker_boot() {
		--device /dev/kvm \
		--cpus=1 \
		-p 127.0.0.1:$port:$port \
		--rm \
		--name "builds_job_${BUILD_JOB_ID:-unknown_$(date +"%s")}" \
		qemu /bin/${qemu:-qemu-system-$arch} \
		-m ${MEMORY:-2048} \