Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/KubeOps.Cli/Generators/DockerfileGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ COPY ./ ./
RUN addgroup k8s-operator && useradd -G k8s-operator operator-user

WORKDIR /operator
COPY --from=build /operator/out/ ./
RUN chown operator-user:k8s-operator -R .
COPY --chown=operator-user:k8s-operator --from=build /operator/out/ ./

USER operator-user

Expand Down