Currently, the package container is redefining some function that are already defined in docker packages.
We should remove them and use as much as possible function from docker packages.
Eg:
https://github.com/mesg-foundation/core/blob/dev/container/build.go#L48-L58
should be replaced by github.com/docker/cli/cli/command/image/build.ReadDockerignore
Currently, the package container is redefining some function that are already defined in docker packages. We should remove them and use as much as possible function from docker packages. Eg: https://github.com/mesg-foundation/core/blob/dev/container/build.go#L48-L58 should be replaced by
github.com/docker/cli/cli/command/image/build.ReadDockerignore
See https://github.com/mesg-foundation/core/blob/dev/commands/provider/service_deployer.go#L129 as example