Skip to content

Commit

Permalink
chore: Bump go base image to 1.22.1 (#160)
Browse files Browse the repository at this point in the history
* chore: Bump base go image to 1.22.1

* chore: Bump deps

* docs: Update README

* fix: Docker alpine image
  • Loading branch information
obalunenko authored Mar 8, 2024
1 parent 49f90f9 commit df88261
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 114 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.22.0-alpine3.19 as builder
FROM --platform=$BUILDPLATFORM golang:1.22.1-alpine3.19 as builder

ARG APK_BASH_VERSION=~5
ARG APK_GIT_VERSION=~2
Expand Down
33 changes: 19 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,36 @@ docker pull ghcr.io/obalunenko/go-tools:latest

## Contents

Below is a full manifest of the tools available:
### Go base image

The base image is built on top of the official image `golang:1.22.1-alpine3.19.1` and includes the following tools:


##### Below is a full manifest of the tools available


| Tool | Version | Description |
|------------------------------------------------------------|------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [go-enum](https://github.com/abice/go-enum) | v0.5.7 | An enum generator for go |
| [go-enum](https://github.com/abice/go-enum) | v0.6.0 | An enum generator for go |
| [enumer](https://github.com/alvaroloes/enumer) | v1.1.2 | A Go tool to auto generate methods for your enums |
| [gocov](https://github.com/axw/gocov) | v1.1.0 | Coverage testing tool for The Go Programming Language |
| [svu](https://github.com/caarlos0/svu) | v1.11.0 | Semantic Version Util |
| [svu](https://github.com/caarlos0/svu) | v1.12.0 | Semantic Version Util |
| [swagger](https://github.com/go-swagger/go-swagger) | v0.30.5 | Client/Server from OpenAPI docs generation tool |
| [golangci-lint](https://github.com/golangci/golangci-lint) | v1.54.1 | Fast linters Runner for Go |
| [goreleaser](https://github.com/goreleaser/goreleaser) | v1.20.0 | Deliver Go binaries as fast and easily as possible |
| [golangci-lint](https://github.com/golangci/golangci-lint) | v1.56.2 | Fast linters Runner for Go |
| [goreleaser](https://github.com/goreleaser/goreleaser) | v1.24.0 | Deliver Go binaries as fast and easily as possible |
| [gocov-html](https://github.com/matm/gocov-html) | v1.4.0 | Make pretty HTML output from gocov, a coverage testing tool for Go |
| [goveralls](https://github.com/mattn/goveralls) | v0.0.12 | Go integration for Coveralls.io continuous code coverage tracking system. |
| [tparse](https://github.com/mfridman/tparse) | v0.13.1 | CLI tool for summarizing go test output. Pipe friendly. CI/CD friendly. |
| [tparse](https://github.com/mfridman/tparse) | v0.13.2 | CLI tool for summarizing go test output. Pipe friendly. CI/CD friendly. |
| [coverbadger](https://github.com/obalunenko/coverbadger) | v1.4.0 | Generate coverage badge images for Markdown files using Go |
| [goreadme](https://github.com/posener/goreadme) | v1.4.2 | Generate readme file from Go doc |
| [goose](https://github.com/pressly/goose/v3/cmd/goose) | v3.14.0 | A database migration tool |
| [pkgsite](https://golang.org/x/pkgsite/cmd/pkgsite) | v0.0.0-20230810193958-82f79ed16e88 | Pkgsite extracts and generates documentation for Go programs. It runs as a web server and presents the documentation as a web page. |
| [fiximports](https://golang.org/x/tools/cmd/fiximports) | v0.12.0 | The fiximports command fixes import declarations to use the canonical import path for packages that have an "import comment" as defined by https://golang.org/s/go14customimport. |
| [goimports](https://golang.org/x/tools/cmd/goimports) | v0.12.0 | Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones |
| [stringer](https://golang.org/x/tools/cmd/stringer) | v0.12.0 | Stringer is a tool to automate the creation of methods that satisfy the fmt.Stringer interface. |
| [govulncheck](https://golang.org/x/vuln/cmd/govulncheck) | v1.0.0 | Govulncheck reports known vulnerabilities that affect Go code. |
| [gotestsum](https://gotest.tools/gotestsum) | v1.10.1 | 'go test' runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results. |
| [gofumpt](https://mvdan.cc/gofumpt) | v0.5.0 | A stricter gofmt |
| [goose](https://github.com/pressly/goose/v3/cmd/goose) | v3.18.0 | A database migration tool |
| [pkgsite](https://golang.org/x/pkgsite/cmd/pkgsite) | v0.0.0-20240305194412-ea43129276ed | Pkgsite extracts and generates documentation for Go programs. It runs as a web server and presents the documentation as a web page. |
| [fiximports](https://golang.org/x/tools/cmd/fiximports) | v0.19.0 | The fiximports command fixes import declarations to use the canonical import path for packages that have an "import comment" as defined by https://golang.org/s/go14customimport. |
| [goimports](https://golang.org/x/tools/cmd/goimports) | v0.19.0 | Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones |
| [stringer](https://golang.org/x/tools/cmd/stringer) | v0.19.0 | Stringer is a tool to automate the creation of methods that satisfy the fmt.Stringer interface. |
| [govulncheck](https://golang.org/x/vuln/cmd/govulncheck) | v1.0.4 | Govulncheck reports known vulnerabilities that affect Go code. |
| [gotestsum](https://gotest.tools/gotestsum) | v1.11.0 | 'go test' runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results. |
| [gofumpt](https://mvdan.cc/gofumpt) | v0.6.0 | A stricter gofmt |


## How to Use
Expand Down
21 changes: 4 additions & 17 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/obalunenko/go-tools

go 1.21
go 1.22

require (
github.com/abice/go-enum v0.6.0
Expand All @@ -16,7 +16,7 @@ require (
github.com/obalunenko/coverbadger v1.4.0
github.com/posener/goreadme v1.4.2
github.com/pressly/goose/v3 v3.18.0
golang.org/x/pkgsite v0.0.0-20230810193958-82f79ed16e88
golang.org/x/pkgsite v0.0.0-20240305194412-ea43129276ed
golang.org/x/tools v0.19.0
golang.org/x/vuln v1.0.4
gotest.tools/gotestsum v1.11.0
Expand All @@ -31,13 +31,8 @@ require (
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v1.1.5 // indirect
cloud.google.com/go/kms v1.15.5 // indirect
cloud.google.com/go/monitoring v1.16.3 // indirect
cloud.google.com/go/secretmanager v1.11.4 // indirect
cloud.google.com/go/storage v1.35.1 // indirect
cloud.google.com/go/trace v1.10.4 // indirect
code.gitea.io/sdk/gitea v0.17.1 // indirect
contrib.go.opencensus.io/exporter/prometheus v0.1.0 // indirect
contrib.go.opencensus.io/exporter/stackdriver v0.13.14 // indirect
dario.cat/mergo v1.0.0 // indirect
github.com/4meepo/tagalign v1.3.3 // indirect
github.com/Abirdcfly/dupword v0.0.13 // indirect
Expand Down Expand Up @@ -113,7 +108,6 @@ require (
github.com/aws/smithy-go v1.19.0 // indirect
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20231024185945-8841054dbdb8 // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
github.com/bahlo/generic-list-go v0.2.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bitfield/gotestdox v0.2.1 // indirect
Expand All @@ -136,7 +130,6 @@ require (
github.com/cavaliergopher/cpio v1.0.1 // indirect
github.com/ccojocar/zxcvbn-go v1.0.2 // indirect
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
github.com/certifi/gocertifi v0.0.0-20210507211836-431795d63e8d // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/charithe/durationcheck v0.0.10 // indirect
Expand Down Expand Up @@ -174,7 +167,6 @@ require (
github.com/ettle/strcase v0.2.0 // indirect
github.com/evalphobia/logrus_sentry v0.8.2 // indirect
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/evanw/esbuild v0.17.8 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/fatih/structtag v1.2.0 // indirect
github.com/felixge/httpsnoop v1.0.3 // indirect
Expand Down Expand Up @@ -252,7 +244,6 @@ require (
github.com/goreleaser/chglog v0.5.0 // indirect
github.com/goreleaser/fileglob v1.3.0 // indirect
github.com/goreleaser/nfpm/v2 v2.35.3 // indirect
github.com/gorilla/css v1.0.0 // indirect
github.com/gorilla/handlers v1.5.1 // indirect
github.com/gorilla/websocket v1.5.1 // indirect
github.com/gostaticanalysis/analysisutil v0.7.1 // indirect
Expand All @@ -264,7 +255,6 @@ require (
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-retryablehttp v0.7.4 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/hashicorp/golang-lru v0.6.0 // indirect
github.com/hashicorp/hcl v1.0.1-vault-5 // indirect
github.com/hexops/gotextdiff v1.0.3 // indirect
github.com/huandu/xstrings v1.4.0 // indirect
Expand Down Expand Up @@ -321,7 +311,6 @@ require (
github.com/mbilski/exhaustivestruct v1.2.0 // indirect
github.com/mfridman/interpolate v0.0.2 // indirect
github.com/mgechev/revive v1.3.7 // indirect
github.com/microcosm-cc/bluemonday v1.0.16 // indirect
github.com/microsoft/go-mssqldb v1.6.0 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
Expand Down Expand Up @@ -360,7 +349,6 @@ require (
github.com/prometheus/client_model v0.5.0 // indirect
github.com/prometheus/common v0.45.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/prometheus/prometheus v0.48.0 // indirect
github.com/quasilyte/go-ruleguard v0.4.0 // indirect
github.com/quasilyte/gogrep v0.5.0 // indirect
github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 // indirect
Expand Down Expand Up @@ -436,8 +424,6 @@ require (
github.com/ydb-platform/ydb-go-sdk/v3 v3.55.1 // indirect
github.com/yeya24/promlinter v0.2.0 // indirect
github.com/ykadowak/zerologlint v0.1.5 // indirect
github.com/yuin/goldmark v1.4.13 // indirect
github.com/yuin/goldmark-emoji v1.0.1 // indirect
github.com/ziutek/mymysql v1.5.4 // indirect
gitlab.com/bosi/decorder v0.4.1 // indirect
gitlab.com/digitalxero/go-conventional-commit v1.0.7 // indirect
Expand All @@ -456,7 +442,7 @@ require (
golang.org/x/exp/typeparams v0.0.0-20231219180239-dc181d75b848 // indirect
golang.org/x/mod v0.16.0 // indirect
golang.org/x/net v0.22.0 // indirect
golang.org/x/oauth2 v0.16.0 // indirect
golang.org/x/oauth2 v0.18.0 // indirect
golang.org/x/sync v0.6.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/term v0.18.0 // indirect
Expand Down Expand Up @@ -494,6 +480,7 @@ require (
mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b // indirect
mvdan.cc/unparam v0.0.0-20240104100049-c549a3470d14 // indirect
nhooyr.io/websocket v1.8.7 // indirect
rsc.io/markdown v0.0.0-20231214224604-88bb533a6020 // indirect
sigs.k8s.io/kind v0.20.0 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)
Loading

0 comments on commit df88261

Please sign in to comment.