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

A bug in experimental/Dockerfile #18

Open
wangluochao902 opened this issue Apr 22, 2020 · 0 comments
Open

A bug in experimental/Dockerfile #18

wangluochao902 opened this issue Apr 22, 2020 · 0 comments

Comments

@wangluochao902
Copy link

RUN apt-get update \

Hi, we are developing a tool to detect typos/bugs in dockerfiles automatically. Our tool finds a bug above. I think the problem is the last \ since it escapes the newline. This small typo occurs after you comment out the following apt-get install commands. I have tried it, and it outputs an error

The command '/bin/sh -c apt-get update RUN pip install boto' returned a non-zero code: 100

To fix it, I think you should either comment back the following apt-gets or delete the last \. Thank you for your confirmation. We are developing the tool, so your feedback will be greatly appreciated.

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

No branches or pull requests

1 participant