Skip to content

Commit 9a974b8

Browse files
committed
Fix permission issue with overriden config files in docker default
1 parent 5e416f7 commit 9a974b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribution/docker/src/docker/Dockerfile.default

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ RUN tar -zxf /tmp/elasticsearch.tar.gz --strip-components=1 && \\
7272
chown 1000:1000 bin config config/jvm.options.d data logs plugins
7373

7474
# The distribution includes a `config` directory, no need to create it
75-
COPY config/elasticsearch.yml config/log4j2.properties config/
75+
COPY --chmod=664 config/elasticsearch.yml config/log4j2.properties config/
7676

7777

7878
################################################################################

0 commit comments

Comments
 (0)