Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes Dockerfile #1413

Merged
merged 1 commit into from
Jan 7, 2021
Merged

fixes Dockerfile #1413

merged 1 commit into from
Jan 7, 2021

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 <[email protected]>
@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