File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed
exist-docker/src/main/resources-filtered Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -97,12 +97,13 @@ COPY --from=builder /usr/lib/jvm/java-21-openjdk /usr/lib/jvm/java-21-openjdk
97
97
USER nonroot
98
98
99
99
# Copy Elemental
100
- COPY LICENSE /elemental/LICENSE
101
- COPY autodeploy /elemental/autodeploy
102
- COPY etc /elemental/etc
103
- COPY lib /elemental/lib
104
- COPY --chown=nonroot logs /elemental/logs
105
- COPY --chown=nonroot logs /elemental/data
100
+ COPY --chmod=0555 logs /elemental
101
+ COPY --chmod=0444 LICENSE /elemental/LICENSE
102
+ COPY --chmod=0570 autodeploy /elemental/autodeploy
103
+ COPY --chmod=0570 etc /elemental/etc
104
+ COPY --chmod=0550 lib /elemental/lib
105
+ COPY --chown=nonroot --chmod=0750 logs /elemental/logs
106
+ COPY --chown=nonroot --chmod=0750 logs /elemental/data
106
107
107
108
# Build-time metadata as defined at http://label-schema.org
108
109
# and used by autobuilder @hooks/build
Original file line number Diff line number Diff line change @@ -70,12 +70,13 @@ RUN apk add openjdk-21
70
70
USER nonroot
71
71
72
72
# Copy Elemental
73
- COPY LICENSE /elemental/LICENSE
74
- COPY autodeploy /elemental/autodeploy
75
- COPY etc /elemental/etc
76
- COPY lib /elemental/lib
77
- COPY --chown=nonroot logs /elemental/logs
78
- COPY --chown=nonroot logs /elemental/data
73
+ COPY --chmod=0555 logs /elemental
74
+ COPY --chmod=0444 LICENSE /elemental/LICENSE
75
+ COPY --chmod=0570 autodeploy /elemental/autodeploy
76
+ COPY --chmod=0570 etc /elemental/etc
77
+ COPY --chmod=0550 lib /elemental/lib
78
+ COPY --chown=nonroot --chmod=0750 logs /elemental/logs
79
+ COPY --chown=nonroot --chmod=0750 logs /elemental/data
79
80
80
81
# Build-time metadata as defined at http://label-schema.org
81
82
# and used by autobuilder @hooks/build
You can’t perform that action at this time.
0 commit comments