Definition:

  • Set the base image, from docker hub
  • A valid Dockerfile must start with a FROM instruction
  • Can have multiple FROM to build multiple images
  • FROM [--platform=<platform>] <image> [AS <name>]
    Or
    FROM [--platform=<platform>] <image>[:<tag>] [AS <name>]
    Or
    FROM [--platform=<platform>] <image>[@<digest>] [AS <name>]
  • The image can be any valid image.
    • FROM python:3.7