== should format == FROM base:${CODE_VERSION} FROM test:tag FROM test AS alias [expect] FROM base:${CODE_VERSION} FROM test:tag FROM test AS alias == should format with digest -- todo: needs to be supported in parser (skip) == FROM test@digest [expect] FROM test@digest == should parse platform == FROM --platform=linux/amd64 node:lts-alpine FROM --platform=linux/amd64 --platform=something node:lts-alpine [expect] FROM --platform=linux/amd64 node:lts-alpine FROM --platform=linux/amd64 --platform=something node:lts-alpine