Skip to content

Commit a5b8dec

Browse files
committed
Document docker image for babashka-play
1 parent d65be01 commit a5b8dec

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

play/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ manually:
7373
BB_EXTERNAL_WD="$(pwd)" BB_EXTERNAL_COMMAND="../rolling-shutter/bin/rolling-shutter keyper --config work/keyper-dkg-external/keyper-2.toml" clojure -M:test keyper-dkg-external
7474
```
7575

76+
(You can do the same inside a docker container (see below)).
77+
7678
### Parameters in the environment
7779

7880
You can find the test system parameters in the environment of the
@@ -99,6 +101,23 @@ Here you see, that the keyper implementation under tests, should use port
99101
`http://127.0.0.1:8545/` etc. Not all of these may be relevant to your
100102
implementation.
101103

104+
### Docker image
105+
106+
There are ready to use docker images at
107+
https://ghcr.io/shutter-network/babashka-play
108+
109+
To run a test inside a container, run:
110+
111+
```
112+
docker run --platform=linux/amd64 --rm -it ghcr.io/shutter-network/babashka-play:latest
113+
114+
process-compose -t=false up & # to start postgres
115+
116+
# RUN TEST
117+
#e.g.
118+
bb test-system
119+
```
120+
102121
### Self contained testrunner
103122

104123
It is possible to compile the testrunner into a self contained `.jar` file, by

0 commit comments

Comments
 (0)