We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb46b84 commit 4b94f2cCopy full SHA for 4b94f2c
1 file changed
docker-compose.yml
@@ -85,7 +85,9 @@ services:
85
# Any Beats image will suffice. We'll use Metricbeat.
86
image: docker.elastic.co/beats/metricbeat:${TAG}
87
volumes: ['./scripts/configure-kibana.sh:/usr/local/bin/configure-kibana.sh:ro']
88
- command: /usr/local/bin/configure-kibana.sh
+ # The script may have CR/LF linefeeds if using Docker for Windows, so make
89
+ # sure that they don't confuse Bash.
90
+ command: ['/bin/bash', '-c', 'cat /usr/local/bin/configure-kibana.sh | tr -d "\r" | bash']
91
environment: ['ELASTIC_VERSION=${ELASTIC_VERSION}']
92
networks: ['stack']
93
depends_on: ['kibana']
0 commit comments