Back to front pageView on Hacker News (opens in a new tab)Show HN: #!/usr/bin/env docker run (opens in a new tab)gist.github.com496 pointsby adtac (on Hacker News)2 years agogist.github.com (opens in a new tab)#!/usr/bin/env docker run#!/usr/bin/env docker run. GitHub Gist: instantly share code, notes, and snippets.Comments (173) 27 threadsShow all commentsShowing thread 11 of 27rekado2 years ago#There's also `guix shell` which can be used in shebang position. Example from the Guix manual: #!/usr/bin/env -S guix shell python python-numpy -- python3 import numpy print("This is numpy", numpy.version.version) It also works with manifest files specifying more complex environments.
Show HN: #!/usr/bin/env docker run (opens in a new tab)gist.github.com496 pointsby adtac (on Hacker News)2 years ago
rekado2 years ago#There's also `guix shell` which can be used in shebang position. Example from the Guix manual: #!/usr/bin/env -S guix shell python python-numpy -- python3 import numpy print("This is numpy", numpy.version.version) It also works with manifest files specifying more complex environments.
Comments (173) 27 threads
Show all comments
Showing thread 11 of 27