forked from cosmos/cosmos-sdk
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: fix build environment for the liveness test (backport cosmos#1…
…0551) (cosmos#10552) * build: fix build environment for the liveness test (cosmos#10551) Extracted from cosmos#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. (cherry picked from commit 70a3a90) * fix conflict Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com> Co-authored-by: Robert Zaremba <robert@zaremba.ch>
- Loading branch information
1 parent
5b920db
commit d675ad6
Showing
3 changed files
with
21 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,7 @@ | ||
all: simd-env | ||
|
||
simd-env: simd-rmi | ||
docker build --tag cosmossdk/simd -f simd-env/Dockerfile \ | ||
$(shell git rev-parse --show-toplevel) | ||
simd-env: | ||
docker build --tag cosmossdk/simd-env -f simd-env/Dockerfile \ | ||
$(shell git rev-parse --show-toplevel) | ||
|
||
simd-dlv: simd-rmi | ||
docker build --tag cosmossdk/simd -f simd-dlv/Dockerfile \ | ||
$(shell git rev-parse --show-toplevel) | ||
|
||
simd-rmi: | ||
docker rmi cosmossdk/simd 2>/dev/null; true | ||
|
||
.PHONY: all simd-env simd-dlv simd-rmi | ||
.PHONY: all simd-env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters