Skip to content

Conversation

@wyli
Copy link
Contributor

@wyli wyli commented Jan 6, 2021

Description

fixes docker build error https://github.com/Project-MONAI/MONAI/runs/1658975018#step:3:2335

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
@ericspod
Copy link
Member

ericspod commented Jan 6, 2021

The issue with the comment breaking up a multiline shell command is probably common, I've done it myself. Is there a reason to chain commands together with && rather than have multiple RUN commands? If we had multiple command we can comment them safely, but I assume using && is a common Docker pattern for some reason.

@wyli
Copy link
Contributor Author

wyli commented Jan 6, 2021

yeah I think it minimises the number of layers and size of the image @ericspod

@ericspod
Copy link
Member

ericspod commented Jan 6, 2021

A possible solution to interspersed comments isn't exactly pretty.

@Nic-Ma Nic-Ma merged commit db7bf89 into Project-MONAI:master Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants