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 @@ + + + + + + + Awesome-docker + + + + + + + + + + +
+

Awesome-docker

+

+ A curated list of Docker resources and projects +

+ View on GitHub +
+ + Star +
+
+ + + + + diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..7bed71c --- /dev/null +++ b/go.mod @@ -0,0 +1,10 @@ +module github.com/veggiemonk/awesome-docker + +go 1.25.0 + +require github.com/spf13/cobra v1.10.2 + +require ( + github.com/inconshreveable/mousetrap v1.1.0 // indirect + github.com/spf13/pflag v1.0.9 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..a6ee3e0 --- /dev/null +++ b/go.sum @@ -0,0 +1,10 @@ +github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= +github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU= +github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4= +github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY= +github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=