build: fix build environment for the liveness test (#10551)

Extracted from #10210.

Make the test more reproducible, so that it does not require coordination
between the build container and the run container.

- Use layers to more advantage.
- Include bash in the run container.
- Put writable output onto a volume.
This commit is contained in:
M. J. Fromberger
2021-11-15 11:02:31 -08:00
committed by GitHub
parent 7043dde071
commit 70a3a90f68
6 changed files with 26 additions and 32 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ jobs:
liveness-test:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2.1.4