This fix requires to add the package findutils to Dockerfile.test.dapper in order for find to support printf).
Re-ordered alphabetically the packages installed by apk.
Also re-ordered the parameters -mindepth 2 -maxdepth 2 -type d to make them work as expected and avoid failure:
find: warning: you have specified the global option -mindepth after the argument -type, but global options are not positional, i.e., -mindepth affects tests specified before it as well as those specified after it. Please specify global options before other arguments.
find: warning: you have specified the global option -maxdepth after the argument -type, but global options are not positional, i.e., -maxdepth affects tests specified before it as well as those specified after it. Please specify global options before other arguments.
This PR does:
golang:1.20-alpine3.17
following PR https://github.com/k3s-io/kine/pull/164.findutils
toDockerfile.test.dapper
in order forfind
to supportprintf
).apk
.-mindepth 2 -maxdepth 2 -type d
to make them work as expected and avoid failure: