Skip to content

A bug in experimental/Dockerfile #18

@wangluochao902

Description

@wangluochao902

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions