How to build a Docker image offline from another official images

I have a question about how to build particular offline Docker images from another official images. Have any idea to help me, plz?

If you plug into the network, docker pull your dependent images, get on the airplane, and docker build, it works fine…but you do need all of the base images before you disconnect.

Include the other Docker image in the FROM instruction.