FROM command

The FROM command is used to specify the base Docker image that will be used by the Dockerfile to build the new image. For example, if you want to create a custom image based on Debian, you should add the following line as part of your file:

FROM debian:stretch-slim