Post B8oHJk9kNPDty6FTKC by a1ba@suya.place
 (DIR) More posts by a1ba@suya.place
 (DIR) Post #B8o0GmtI3RgaMNYWBs by drq@mastodon.ml
       0 likes, 0 repeats
       
       IMO, Dockerfiles need a shebang.
       
 (DIR) Post #B8oBJ7TRb4a4GwmU1g by grishka@friends.grishka.me
       0 likes, 0 repeats
       
       Can't you just put one in there though? #!/usr/bin/docker up or something
       
 (DIR) Post #B8oH3uSwHJ5VJFfvu4 by dside@mastodon.ml
       0 likes, 0 repeats
       
       @drq well… # in Dockerfile denotes comments already, meaning that shebang mechanism can work just fine with a simple wrapper script with no hackery that would ignore the file's first line.Someone's even done it already: https://github.com/JakeWharton/dockerfile-shebang
       
 (DIR) Post #B8oHJk9kNPDty6FTKC by a1ba@suya.place
       0 likes, 0 repeats
       
       @drq I would also add .desktop files to things that needs shebang,
       
 (DIR) Post #B8oHLkbhffGRwiHY7E by drq@mastodon.ml
       0 likes, 0 repeats
       
       @a1ba Yes!
       
 (DIR) Post #B8oTlKxmprkjONZuts by bano@mastodon.ml
       0 likes, 0 repeats
       
       @drq but they do... #!/bin/env -S docker build -t name -f