An administrator needs to execute a package update and install dependencies during the podman build process, ensuring these commands are committed as a new layer in the final image. Which instruction accomplishes this?
RUN executes build-time commands and commits the result to a new image layer.
Why this answer
The RUN instruction executes any commands in a current layer on top of the current image and commits the results. The resulting committed image will be used for the next step in the Containerfile.