Add man to testbed Docker image
This commit is contained in:
parent
d5b217f850
commit
d16f4b134a
4 changed files with 6 additions and 5 deletions
|
@ -3,6 +3,6 @@ language: minimal
|
|||
services:
|
||||
- docker
|
||||
before_install:
|
||||
- docker pull yadm/testbed:2019-12-02
|
||||
- docker pull yadm/testbed:2020-01-20
|
||||
script:
|
||||
- docker run -t --rm -v "$PWD:/yadm:ro" yadm/testbed:2019-12-02
|
||||
- docker run -t --rm -v "$PWD:/yadm:ro" yadm/testbed:2020-01-20
|
||||
|
|
|
@ -22,6 +22,7 @@ RUN \
|
|||
gnupg \
|
||||
lsb-release \
|
||||
make \
|
||||
man \
|
||||
python3-pip \
|
||||
shellcheck=0.4.6-1 \
|
||||
vim \
|
||||
|
|
4
Makefile
4
Makefile
|
@ -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"
|
||||
|
|
|
@ -4,4 +4,4 @@ services:
|
|||
testbed:
|
||||
volumes:
|
||||
- .:/yadm:ro
|
||||
image: yadm/testbed:2019-12-02
|
||||
image: yadm/testbed:2020-01-20
|
||||
|
|
Loading…
Reference in a new issue