Skip to content

Commit 7e66406

Browse files
committed
Keep elasticsearch being in root group
1 parent cce5e03 commit 7e66406

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
@@ -96,7 +96,7 @@ COPY --from=builder /bin/tini /bin/tini
9696

9797
WORKDIR /usr/share/elasticsearch
9898

99-
COPY --from=builder /usr/share/elasticsearch .
99+
COPY --from=builder --chown=0:0 /usr/share/elasticsearch .
100100

101101
# Replace OpenJDK's built-in CA certificate keystore with the one from the OS
102102
# vendor. The latter is superior in several ways.

0 commit comments

Comments
 (0)