Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)
Update github.com/docker/docker from v20.10.12 to v23.0.2.
Why
Getting compile errors against this code when using it as a library. My app uses a more recent version of docker and I get the following compile errors:
# github.com/docker-slim/docker-slim/pkg/docker/dockerutil
/go/pkg/mod/github.com/docker-slim/docker-slim@v0.0.0-20221025045308-f502574b8d88/pkg/docker/dockerutil/dockerutil.go:286:4: unknown field 'UIDMaps' in struct literal of type archive.TarOptions
/go/pkg/mod/github.com/docker-slim/docker-slim@v0.0.0-20221025045308-f502574b8d88/pkg/docker/dockerutil/dockerutil.go:287:4: unknown field 'GIDMaps' in struct literal of type archive.TarOptions
/go/pkg/mod/github.com/docker-slim/docker-slim@v0.0.0-20221025045308-f502574b8d88/pkg/docker/dockerutil/dockerutil.go:594:4: unknown field 'UIDMaps' in struct literal of type archive.TarOptions
/go/pkg/mod/github.com/docker-slim/docker-slim@v0.0.0-20221025045308-f502574b8d88/pkg/docker/dockerutil/dockerutil.go:595:4: unknown field 'GIDMaps' in struct literal of type archive.TarOptions
Fixes-###
What
Update github.com/docker/docker from v20.10.12 to v23.0.2.
Why
Getting compile errors against this code when using it as a library. My app uses a more recent version of docker and I get the following compile errors:
How Tested
BUILD TEST
TEST