Skip to content

run should work with multiple lines #222

Open
@bfirsh

Description

@bfirsh

Currently run commands in the build section of can only be a single line. They should support multiple lines.

The sensible way of supporting this would probably be to write out the build commands to a shell script and then run that. E.g. write out string to tmpdir/build/0, tmpdir/build/1, etc, then output this in the Dockerfile:

COPY tmpdir/build /tmp/build
RUN /bin/sh /tmp/build/0
RUN /bin/sh /tmp/build/1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions