Skip to content

Commit

Permalink
fix: escape dollar symbol in docker-compose.xml for linux (#721)
Browse files Browse the repository at this point in the history
Signed-off-by: Li Zhanhui <[email protected]>
  • Loading branch information
lizhanhui authored Nov 24, 2023
1 parent 3f18552 commit f2c1846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distribution/docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:
- /bin/bash
- -c
- |
BUCKET_EXISTS=$(aws s3api create-bucket --bucket bucket-name --endpoint=http://11.6.0.2:9000 2>&1 || true);
BUCKET_EXISTS=$$(aws s3api create-bucket --bucket bucket-name --endpoint=http://11.6.0.2:9000 2>&1 || true);
if [ ! -z "$BUCKET_EXISTS"]; then
aws s3api create-bucket --bucket bucket-name --endpoint=http://11.6.0.2:9000
fi
Expand Down

0 comments on commit f2c1846

Please sign in to comment.