Testing package contents

Hi everyone! Could you help me resolve the following error generated during the creation of a package for filebeat 7.10.2:

>> Testing package contents
--- FAIL: TestDocker (2.66s)
    package_test.go:188: error reading file /home/vagrant/beats/filebeat/build/distributions/filebeat-oss-7.10.2-linux-amd64.docker.tar.gz: no entrypoint
FAIL
FAIL	command-line-arguments	3.978s
FAIL
package ran for 2m36.055577747s
Error: running "go test /home/vagrant/beats/dev-tools/packaging/package_test.go --modules --modules.d -root-owner -files /home/vagrant/beats/filebeat/build/distributions/*" failed with exit code 1