Skip to content

Conversation

@omerap12
Copy link
Member

Ⅰ. Describe what this PR does

Fix code scanning alert - Replace ADD in Dockerfiles to COPY

Ⅱ. Does this pull request fix one issue?

fixes #4354

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Signed-off-by: Omer Aplatony <omerap12@gmail.com>
COPY ./fluid_config_init.py /
COPY ./entrypoint.sh /usr/local/bin
COPY --from=BUILD /src/fuse/fuse-nfs /bin/fuse-nfs
CMD ["/usr/local/bin/entrypoint.sh"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add return of line.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure :)

@cheyang
Copy link
Collaborator

cheyang commented Oct 31, 2024

@omerap12 Please don't change vendor/github.com/nxadm/tail/Dockerfile

@omerap12
Copy link
Member Author

@omerap12 Please don't change vendor/github.com/nxadm/tail/Dockerfile

Yeap, sorry :(

Signed-off-by: Omer Aplatony <omerap12@gmail.com>
@omerap12 omerap12 requested a review from cheyang October 31, 2024 11:37
@sonarqubecloud
Copy link

Copy link
Collaborator

@cheyang cheyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@fluid-e2e-bot
Copy link

fluid-e2e-bot bot commented Oct 31, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cheyang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@fluid-e2e-bot fluid-e2e-bot bot merged commit d55313a into fluid-cloudnative:master Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix code scanning alert - Prefer COPY over ADD for copying local resources

2 participants