As @alo commented above, KrakenD is built using its own builder, so it shouldn't happen. More info here: github.com/krakend/krakend-ce/blob/master/Makefile#L80-L81
Check and ensure that your Dockerfile is built FROM the same specific KrakenD version (maj.min.fix)?