# syntax=docker/dockerfile:1.5 # escape=\ # ^ OPTIONAL "directives" (must be at top if used) # THIS IS A COMMENT # ARG is the only instruction that can come before FROM ARG BASE_IMAGE_TAG=19.4 # ARGs can be overriden at build time # > docker build --build-arg BASE_VERSION=19.3 . FROM node:${BASE_IMAGE_TAG} RUN echo "Hey Team 👋 (shell form)" RUN ["echo", "Hey Team 👋 (exec form)"] # Heredocs allow for specifying multiple commands to # be run within a single step, across multiple lines # without lots of && and \ RUN <