apache / gravitino

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
https://datastrato.ai/docs/
Apache License 2.0
681 stars 208 forks source link

[MINOR] fix: remove chmod in Dockerfile to decrease image size #4082

Closed zhoukangcn closed 2 days ago

zhoukangcn commented 3 days ago

What changes were proposed in this pull request?

Decrease the size of the Docker image in ARM arch.

Why are the changes needed?

chmod makes Docker image increase to 8.89GB, but it's not necessary for user root.

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

Mannual/CI

zhoukangcn commented 2 days ago

@yuqi1129 Could you help to review this PR when you have time? be/lib/doris_be is 700, chmod to 755 will make Docker Image bigger. but we use user root in Doris Docker container, so 700 is enough

yuqi1129 commented 2 days ago

@yuqi1129 Could you help to review this PR when you have time? be/lib/doris_be is 700, chmod to 755 will make Docker Image bigger. but we use user root in Doris Docker container, so 700 is enough

Okay.

yuqi1129 commented 2 days ago

Let me release the image to the datastrato docker hub.