20 Commits

Author SHA1 Message Date
Ludovic Fernandez
dcddbda2a7
dev: use goreleaser to create Docker images () 2024-02-09 15:14:47 +01:00
Ludovic Fernandez
192ee8929c
go1.22 support () 2024-02-07 15:23:01 +01:00
Caleb Xu
95bc7a8546
fix: make versioning inside Docker image consistent with binaries ()
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-12-22 01:12:00 +01:00
Ludovic Fernandez
411e0bbbd3
fix: add all directories as safe git directories inside the Docker image () 2023-08-21 13:04:00 +02:00
Ludovic Fernandez
e0a8bd8543
go1.21 support () 2023-08-09 12:09:20 +02:00
Ludovic Fernandez
3a6f8408b7
go1.20 support () 2023-02-02 09:08:09 +01:00
Ludovic Fernandez
970b0a5bd7
fix: set an explicit GOROOT in the Docker image for go-critic () 2022-08-21 14:07:08 +02:00
Ludovic Fernandez
1557692e59
feat: go1.19 support () 2022-08-03 20:53:06 +02:00
Ludovic Fernandez
93feed1d63
fix: update base images () 2022-03-20 20:44:52 +01:00
Darlez
d3705d0e8b
Build docker images with go1.17 () 2021-08-19 16:11:34 +02:00
Ludovic Fernandez
123da8e6c7
Add go1.16 support () 2021-02-17 05:17:41 +01:00
Aliaksandr Mianzhynski
6038573c5f
Compile binaries with -trimpath enabled () 2021-02-06 15:21:24 +01:00
Tam Mach
dc2d6b5119
build(docker): Fix version details in docker image ()
* build(docker): Fix version details in docker image

As part of , multi-arch docker build was supported. However,
ldflags for version details was missing.

This commit is to add -ldflags as part of Docker build. I take this chance
to refactor github action as well.

Fixes 

Signed-off-by: Tam Mach <sayboras@yahoo.com>
2020-10-28 09:03:51 +11:00
odidev
3368a55627
Releasing docker image for arm64 () 2020-10-18 17:00:58 +11:00
Tam Mach
18fd36bdd1
build(golang1.15): Upgrade to golang 1.15 for smaller binary ()
Golang 1.15 comes to few improvements, one of them is to have smaller
binary.

This PR is to make golang 1.15 as default version in CI, I also update
Docker based image to golang:1.15* as well.

Two issues faced with golang 1.15:
- Conflict between -v in `golangci-lint` and `go test`. Update to --verbose
to avoid the same. [1]
- `nolintlint_unused.go` testdata is not matching regex. Correct by adding one
space after //

[1]: https://github.com/golang/go/issues/40763

Signed-off-by: Tam Mach <sayboras@yahoo.com>
2020-08-19 09:05:32 +10:00
proton
5a12e35c07
Bump Dockerfile.alpine to golang:1.14-alpine 2020-02-28 21:53:39 +01:00
proton
b433acdce6
Bump Dockerfile to golang:1.14 2020-02-28 21:52:54 +01:00
Aleksandr Razumov
536a4f0e12
Simplify alpine Dockerfile 2020-02-05 22:46:08 +03:00
Dominik-K
c0012e645b
Dockerfile.alpine: install Git & Mercurial 2020-01-13 18:55:27 +01:00
Trevor Pounds
605c9c2954 Add Alpine Linux images ()
* Add Alpine Linux images.

Fixes 
Fixes 

* Move Dockerfiles to build directory.
2019-09-30 12:51:57 +03:00