Skip to content

Commit 9c1e653

Browse files
committed
fix: override entrypoint in docker-compose for shell commands
The Dockerfile sets ENTRYPOINT to redisctl, so we need to override it to use shell for our test scripts
1 parent 29fc664 commit 9c1e653

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ services:
4646
RUST_LOG: ${RUST_LOG:-info}
4747
networks:
4848
- redis-net
49+
entrypoint: ["/bin/sh", "-c"]
4950
command: |
5051
sh -c '
5152
echo "========================================" &&
@@ -80,6 +81,7 @@ services:
8081
RUST_LOG: ${RUST_LOG:-info}
8182
networks:
8283
- redis-net
84+
entrypoint: ["/bin/sh", "-c"]
8385
command: |
8486
sh -c '
8587
echo "========================================" &&
@@ -113,6 +115,7 @@ services:
113115
RUST_LOG: ${RUST_LOG:-info}
114116
networks:
115117
- redis-net
118+
entrypoint: ["/bin/sh", "-c"]
116119
command: |
117120
sh -c '
118121
echo "========================================" &&

0 commit comments

Comments
 (0)