|
RUN <<EOF |
|
dpkg --add-architecture amd64 |
|
apt-get update |
|
apt-get install -y clang zlib1g-dev zlib1g-dev:amd64 gcc-x86-64-linux-gnu llvm |
|
EOF |
- This syntax is only used in the releasesapi samples and isn't consistent with our other samples.
- This syntax does not work on Windows when using Git's default "checkout with CRLF, commit LF" setting.
Proposal: Remove heredocs in samples or provide a note about this in the samples README.
Workaround: Switch the file to LF line endings using your editor before building the sample.