mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
95bb3dce97
Signed-off-by: matttrach <matttrach@gmail.com>
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