Skip to content

Commit 8043390

Browse files
author
Robin Duda
committed
fix race condition in bootstrap.sh for docker images.
1 parent 8d217ef commit 8043390

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ MAINTAINER codingchili@github
77

88

99
RUN mkdir -p /opt/excelastic
10-
COPY docker/configuration.json /opt/excelastic
10+
COPY docker/configuration_template.json /opt/excelastic
1111
COPY docker/bootstrap.sh /opt/excelastic
1212
COPY excelastic-*.jar /opt/excelastic/excelastic.jar
1313
RUN chmod +x /opt/excelastic/bootstrap.sh && \

docker/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
envsubst < configuration.json > configuration.json && java -jar excelastic.jar
1+
envsubst < configuration_template.json > configuration.json && java -jar excelastic.jar
File renamed without changes.

0 commit comments

Comments
 (0)