1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2026-03-02 03:49:29 +00:00

Add man to testbed Docker image

This commit is contained in:
Tim Byrne
2020-01-20 08:21:57 -06:00
parent d5b217f850
commit d16f4b134a
4 changed files with 6 additions and 5 deletions

View File

@@ -112,7 +112,7 @@ testhost: require-docker
--hostname testhost \
--rm -it \
-v "/tmp/testhost:/bin/yadm:ro" \
yadm/testbed:2019-12-02 \
yadm/testbed:2020-01-20 \
bash -l
.PHONY: scripthost
@@ -129,7 +129,7 @@ scripthost: require-docker
--rm -it \
-v "$$PWD/script.gz:/script.gz:rw" \
-v "/tmp/testhost:/bin/yadm:ro" \
yadm/testbed:2019-12-02 \
yadm/testbed:2020-01-20 \
bash -c "script /tmp/script -q -c 'bash -l'; gzip < /tmp/script > /script.gz"
@echo
@echo "Script saved to $$PWD/script.gz"