Skip to content

Commit 3ba6d10

Browse files
authored
package ltpa generate script with operator image + add permissions (#572)
Signed-off-by: Leo Christy Jesuraj <[email protected]>
1 parent 2988975 commit 3ba6d10

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,10 @@ LABEL name=$NAME \
6060
vcs-url=$VCS_URL \
6161
url=$VCS_URL
6262

63-
COPY LICENSE /licenses/
63+
COPY --chown=${USER_ID}:${GROUP_ID} LICENSE /licenses/
6464
WORKDIR /
65-
COPY --from=builder /workspace/manager .
65+
COPY --from=builder --chown=${USER_ID}:${GROUP_ID} /workspace/manager .
66+
COPY --from=builder --chown=${USER_ID}:${GROUP_ID} /workspace/controllers/assets/ /controllers/assets
6667

6768
USER ${USER_ID}:${GROUP_ID}
6869

0 commit comments

Comments
 (0)