1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/community/dockviz/go.mod
Kevin Daudt 3f17348324 community/dockviz: switch to go modules
From go 1.16, go modules are enabled by default, and govendor has been
deprecated by the author.

Even though it still works, the dependencies for dockviz were outdated,
which prevents this from being built on mips64. Specifically,
github.com/docker/docker@v17.12.0-ce-rc1.0

> pkg/system/stat_linux.go:11:3: cannot use s.Rdev (type uint32) as type
uint64 in field value

This was fixed in [docker 20.10.4][0].

The easiest way to fix this by ignoring the shipped vendor dir, and
initialized the modules from scratch with `go mod init dockviz`. Using
that, it just builds without issue.

Note that this updates all dependencies to newer versions

[0]:5f0231bca1
2021-03-02 21:05:00 +00:00

8 lines
116 B
Modula-2

module dockviz
go 1.16
require (
github.com/fsouza/go-dockerclient v1.7.1
github.com/jessevdk/go-flags v1.4.0
)