Hacker News new | ask | show | jobs
by skrause 699 days ago

    RUN <<EOF
    foo
    bar
    EOF
https://www.docker.com/blog/introduction-to-heredocs-in-dock...
1 comments

Thanks, that helps a lot and I didn't know about it:) It's a touch less powerful than full transactions (because AFAICT you can't say merge a COPY and RUN together) but it's a big improvement.