Last active
July 21, 2020 19:21
-
-
Save jogam5/99c9a3662c780f148125a140fae68b0b to your computer and use it in GitHub Desktop.
Create a Dockerfile for GO
This file contains hidden or 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
# Option 1 | |
go mod init | |
go build | |
# Option 2 | |
export GO111MODULE=on | |
go mod init | |
go mod download | |
go mod vendor | |
#Option 3, 07/21/2020 | |
export GO111MODULE=on | |
go mod init |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment