Now security patches are limited to certain architectures for jessie release.
Refer following links for more information:
https://lists.debian.org/debian-security-announce/2018/msg00132.html
debuerreotype/docker-debian-artifacts#44 (comment)
vicamo/docker_buildpack-deps#33
Because of the above reason, we'll have to move to the next release of debian to build it on all different archs and works fine.