diff --git a/.gitignore b/.gitignore index 46006cb..b3f098d 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,6 @@ website/table.html .idea **/.DS_Store .worktrees + +# Go +/awesome-docker diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9101c7e --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +BINARY := awesome-docker +.PHONY: build test lint check health report clean + +build: + go build -o $(BINARY) ./cmd/awesome-docker + +test: + go test ./internal/... -v + +lint: build + ./$(BINARY) lint + +check: build + ./$(BINARY) check + +health: build + ./$(BINARY) health + +report: build + ./$(BINARY) report + +clean: + rm -f $(BINARY) diff --git a/cmd/awesome-docker/main.go b/cmd/awesome-docker/main.go new file mode 100644 index 0000000..1ac12ff --- /dev/null +++ b/cmd/awesome-docker/main.go @@ -0,0 +1,23 @@ +package main + +import ( + "fmt" + "os" + + "github.com/spf13/cobra" +) + +func main() { + root := &cobra.Command{ + Use: "awesome-docker", + Short: "Quality tooling for the awesome-docker curated list", + } + root.AddCommand( + &cobra.Command{Use: "version", Short: "Print version", Run: func(cmd *cobra.Command, args []string) { + fmt.Println("awesome-docker v0.1.0") + }}, + ) + if err := root.Execute(); err != nil { + os.Exit(1) + } +} diff --git a/config/exclude.yaml b/config/exclude.yaml new file mode 100644 index 0000000..baf252d --- /dev/null +++ b/config/exclude.yaml @@ -0,0 +1,18 @@ +# URLs or URL prefixes to skip during link checking. +# These are known false positives or rate-limited domains. +domains: + - https://vimeo.com + - https://travis-ci.org/veggiemonk/awesome-docker.svg + - https://github.com/apps/ + - https://twitter.com + - https://www.meetup.com/ + - https://cycle.io/ + - https://www.manning.com/ + - https://deepfence.io + - https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg + - https://www.se-radio.net/2017/05/se-radio-episode-290-diogo-monica-on-docker-security + - https://www.reddit.com/r/docker/ + - https://www.udacity.com/course/scalable-microservices-with-kubernetes--ud615 + - https://www.youtube.com/playlist + - https://www.aquasec.com + - https://cloudsmith.com diff --git a/config/website.tmpl.html b/config/website.tmpl.html new file mode 100644 index 0000000..94e88e0 --- /dev/null +++ b/config/website.tmpl.html @@ -0,0 +1,229 @@ + + +
+ + + +