func CleanUnusedDockerfile(pathDockerImage string, imgDocker string) error {
	if _, err := os.Stat(pathDockerImage + "/" + imgDocker); err == nil {
		err = os.Remove(pathDockerImage + "/" + imgDocker)
		if err != nil {
			return err
		}
	}
	return nil
}
CleanUnusedDockerfile is cleaning Dockerfile file to keep everything clean
package api
import (
	"context"
	"os"
	"github.com/docker/docker/api/types"
	"github.com/docker/docker/client"
)