diff --git a/crates/iroha_swarm/src/lib.rs b/crates/iroha_swarm/src/lib.rs index 59ac5a7479c..6a165d67efd 100644 --- a/crates/iroha_swarm/src/lib.rs +++ b/crates/iroha_swarm/src/lib.rs @@ -201,7 +201,7 @@ mod tests { - ./client.toml:/config/client.toml:ro init: true command: |- - /bin/bash -c " + /bin/sh -c " EXECUTOR_RELATIVE_PATH=$(jq -r '.executor' /config/genesis.json) && \\ EXECUTOR_ABSOLUTE_PATH=$(realpath \"/config/$$EXECUTOR_RELATIVE_PATH\") && \\ WASM_DIR_RELATIVE_PATH=$(jq -r '.wasm_dir' /config/genesis.json) && \\ @@ -258,7 +258,7 @@ mod tests { - ./client.toml:/config/client.toml:ro init: true command: |- - /bin/bash -c " + /bin/sh -c " EXECUTOR_RELATIVE_PATH=$(jq -r '.executor' /config/genesis.json) && \\ EXECUTOR_ABSOLUTE_PATH=$(realpath \"/config/$$EXECUTOR_RELATIVE_PATH\") && \\ WASM_DIR_RELATIVE_PATH=$(jq -r '.wasm_dir' /config/genesis.json) && \\ @@ -315,7 +315,7 @@ mod tests { - ./client.toml:/config/client.toml:ro init: true command: |- - /bin/bash -c " + /bin/sh -c " EXECUTOR_RELATIVE_PATH=$(jq -r '.executor' /config/genesis.json) && \\ EXECUTOR_ABSOLUTE_PATH=$(realpath \"/config/$$EXECUTOR_RELATIVE_PATH\") && \\ WASM_DIR_RELATIVE_PATH=$(jq -r '.wasm_dir' /config/genesis.json) && \\ @@ -436,7 +436,7 @@ mod tests { retries: 30 start_period: 4s command: |- - /bin/bash -c " + /bin/sh -c " EXECUTOR_RELATIVE_PATH=$(jq -r '.executor' /config/genesis.json) && \\ EXECUTOR_ABSOLUTE_PATH=$(realpath \"/config/$$EXECUTOR_RELATIVE_PATH\") && \\ WASM_DIR_RELATIVE_PATH=$(jq -r '.wasm_dir' /config/genesis.json) && \\ @@ -496,7 +496,7 @@ mod tests { retries: 30 start_period: 4s command: |- - /bin/bash -c " + /bin/sh -c " EXECUTOR_RELATIVE_PATH=$(jq -r '.executor' /config/genesis.json) && \\ EXECUTOR_ABSOLUTE_PATH=$(realpath \"/config/$$EXECUTOR_RELATIVE_PATH\") && \\ WASM_DIR_RELATIVE_PATH=$(jq -r '.wasm_dir' /config/genesis.json) && \\ diff --git a/crates/iroha_swarm/src/schema.rs b/crates/iroha_swarm/src/schema.rs index d37197e3b0b..39352416d4d 100644 --- a/crates/iroha_swarm/src/schema.rs +++ b/crates/iroha_swarm/src/schema.rs @@ -340,7 +340,7 @@ where #[derive(Debug)] struct SignAndSubmitGenesis; -const SIGN_AND_SUBMIT_GENESIS: &str = r#"/bin/bash -c " +const SIGN_AND_SUBMIT_GENESIS: &str = r#"/bin/sh -c " EXECUTOR_RELATIVE_PATH=$(jq -r '.executor' /config/genesis.json) && \\ EXECUTOR_ABSOLUTE_PATH=$(realpath \"/config/$$EXECUTOR_RELATIVE_PATH\") && \\ WASM_DIR_RELATIVE_PATH=$(jq -r '.wasm_dir' /config/genesis.json) && \\ diff --git a/defaults/docker-compose.local.yml b/defaults/docker-compose.local.yml index 0fe84117f91..29e4e6ce452 100644 --- a/defaults/docker-compose.local.yml +++ b/defaults/docker-compose.local.yml @@ -33,7 +33,7 @@ services: retries: 30 start_period: 4s command: |- - /bin/bash -c " + /bin/sh -c " EXECUTOR_RELATIVE_PATH=$(jq -r '.executor' /config/genesis.json) && \\ EXECUTOR_ABSOLUTE_PATH=$(realpath \"/config/$$EXECUTOR_RELATIVE_PATH\") && \\ WASM_DIR_RELATIVE_PATH=$(jq -r '.wasm_dir' /config/genesis.json) && \\ diff --git a/defaults/docker-compose.single.yml b/defaults/docker-compose.single.yml index b654bfb7668..1ff73b0f080 100644 --- a/defaults/docker-compose.single.yml +++ b/defaults/docker-compose.single.yml @@ -32,7 +32,7 @@ services: retries: 30 start_period: 4s command: |- - /bin/bash -c " + /bin/sh -c " EXECUTOR_RELATIVE_PATH=$(jq -r '.executor' /config/genesis.json) && \\ EXECUTOR_ABSOLUTE_PATH=$(realpath \"/config/$$EXECUTOR_RELATIVE_PATH\") && \\ WASM_DIR_RELATIVE_PATH=$(jq -r '.wasm_dir' /config/genesis.json) && \\ diff --git a/defaults/docker-compose.yml b/defaults/docker-compose.yml index cc94927f745..bab055042df 100644 --- a/defaults/docker-compose.yml +++ b/defaults/docker-compose.yml @@ -31,7 +31,7 @@ services: retries: 30 start_period: 4s command: |- - /bin/bash -c " + /bin/sh -c " EXECUTOR_RELATIVE_PATH=$(jq -r '.executor' /config/genesis.json) && \\ EXECUTOR_ABSOLUTE_PATH=$(realpath \"/config/$$EXECUTOR_RELATIVE_PATH\") && \\ WASM_DIR_RELATIVE_PATH=$(jq -r '.wasm_dir' /config/genesis.json) && \\