|
|
|
|
|
by yjftsjthsd-h
438 days ago
|
|
> The RUN parser currently doesn't support grouping or semicolons in commands But then example show that it does support `&&`? Why the difference? I pretty much always write RUN foo && \
bar && \
:
but it seems syntactically identical to the also valid RUN set -e && \
foo ; \
bar ; \
:
|
|
I find it more readable and portable.
[1] https://www.docker.com/blog/introduction-to-heredocs-in-dock...