2026-09-18 17:13 UTC
I was today years old when I learned that Dockerfiles support heredoc-like syntax, and I am furious at every tutorial and presenter that has used a dozen lines with \ instead of that.
#Docker #Programming
Replies (3)
-
@s_hulard@mamot.fr 2026-09-18 17:16
@Crell@phpc.social 😯 how do you use this ? Have you a sample ?
-
@kboyd@phpc.social 2026-09-28 03:47
@Crell@phpc.social Good news: You can also use shebangs for custom interpreters. So you can have php in your dockerfile. I have to imagine there is some sort of drawback to this madness.
-
@MelvilleSpence@phpc.social 2026-09-28 07:49
@Crell@phpc.social that is much nicer