Created
November 18, 2018 00:30
-
-
Save packetchef/6a962554de1d94dae0c95748c715eed9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat gohw.go | |
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
fmt.Println("hi") | |
} | |
$ go build gohw.go | |
$ cat Dockerfile | |
FROM scratch | |
ADD gohw /gohw | |
ENTRYPOINT ["/gohw", "foo"] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment