Skip to content

fixes Dockerfile#1413

Merged
Nic-Ma merged 1 commit intoProject-MONAI:masterfrom
wyli:fixes-dockerfile
Jan 7, 2021
Merged

fixes Dockerfile#1413
Nic-Ma merged 1 commit intoProject-MONAI:masterfrom
wyli:fixes-dockerfile

Conversation

@wyli
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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