Complete the Dockerfile to specify the base image as Ubuntu 20.04.
FROM [1]The FROM instruction sets the base image for the Dockerfile. Here, ubuntu:20.04 specifies Ubuntu version 20.04 as the base.
Complete the Dockerfile to use Alpine Linux as the base image.
FROM [1]The FROM instruction here uses Alpine Linux version 3.15 as the base image, which is a small and efficient Linux distribution.
Fix the error in the Dockerfile base image specification.
FROM [1]The correct Docker base image tag for Python 3.8 is python:3.8. Other options are invalid image names and will cause errors.
Fill both blanks to specify a Node.js base image with version 16 and use the slim variant.
FROM [1]:[2]-slim
The base image is node:16-slim, which uses Node.js version 16 with a smaller slim variant.
Fill all three blanks to specify a Python base image with version 3.10 and the slim-buster variant.
FROM [1]:[2]-[3]
The correct base image is python:3.10-slim-buster, which uses Python 3.10 with the slim-buster variant for a smaller image size.