update readme and bump version
This commit is contained in:
parent
50370c25c7
commit
fae59d652a
@ -19,13 +19,15 @@ Thanks to @zeerorg for the original work!
|
||||
|
||||
Grab a release from the [release tab](https://github.com/iwilltry42/k3d-go/releases).
|
||||
|
||||
or `go install github.com/iwilltry42/k3d-go`
|
||||
|
||||
or...
|
||||
|
||||
## Build
|
||||
|
||||
1. Clone this repo, e.g. via `go get -u github.com/iwilltry42/k3d-go/releases`
|
||||
2. Inside the repo run
|
||||
- `make bootstrap` to install build tools and then `make build` to build for your current system
|
||||
- `make` to build for your current system
|
||||
- `go install` to install it to your `GOPATH`
|
||||
- `make build-cross` to build for all systems
|
||||
|
||||
@ -44,4 +46,6 @@ Example Workflow: Create a new cluster and use it with `kubectl`
|
||||
|
||||
- [ ] Use the docker client library instead of commands
|
||||
- [ ] Test the docker version
|
||||
- [ ] Improve cluster state management
|
||||
- [ ] Improve cluster state management
|
||||
- [ ] Use [hsirupsen/logrus](https://github.com/sirupsen/logrus) for prettier logs
|
||||
- [ ] Add install script
|
||||
3
main.go
3
main.go
@ -120,7 +120,7 @@ func main() {
|
||||
app := cli.NewApp()
|
||||
app.Name = "k3d"
|
||||
app.Usage = "Run k3s in Docker!"
|
||||
app.Version = "0.0.2"
|
||||
app.Version = "0.1.0"
|
||||
app.Authors = []cli.Author{
|
||||
cli.Author{
|
||||
Name: "iwilltry42",
|
||||
@ -136,7 +136,6 @@ func main() {
|
||||
Aliases: []string{"ct"},
|
||||
Usage: "Check if docker is running",
|
||||
Action: func(c *cli.Context) error {
|
||||
//TODO: own function with version check
|
||||
log.Print("Checking docker...")
|
||||
cmd := "docker"
|
||||
args := []string{"version"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user