mirror of https://github.com/k3s-io/k3s
737 B
737 B
Setup Go Environment
These steps are expected for using the scripts and ecm_distro tools for release.
Some of these steps are for properly setting up Go on your machine, some for Docker, and Git.
Git
- install Git (using any method that makes sense
- Configure Git for working with GitHub (add your ssh key, etc)
Go
- install Go from binary
- set up default Go file structure
- create $HOME/go/src/github.com/
- create $HOME/go/src/github.com/k3s-io
- create $HOME/go/src/github.com/rancher
- create $HOME/go/src/github.com/rancherlabs
- create $HOME/go/src/github.com/kubernetes
- set GOPATH=$HOME/go
Docker
- install Docker (or Docker desktop) using whatever method makes sense