ONBUILD ADD . /app/src
FROM ubuntu
FROM ubuntu AS build
MAINTAINER SvenDowideit@home.org.au
RUN cd /tmp
EXPOSE 5900
ENV myName John Doe
COPY hom* /mydir/
VOLUME /myvol
USER daemon
WORKDIR /a
HEALTHCHECK CMD echo "foo"
HEALTHCHECK NONE
LABEL version="1.0"
ENTRYPOINT ["top", "-b"]
ARG user1
SHELL ["powershell", "-command"]
STOPSIGNAL signal

----------------------------------------------------

[
	["instruction", [
		["keyword", "ONBUILD"],
		["keyword", "ADD"],
		" . /app/src"
	]],
	["instruction", [
		["keyword", "FROM"],
		" ubuntu"
	]],
	["instruction", [
		["keyword", "FROM"],
		" ubuntu ",
		["keyword", "AS"],
		" build"
	]],
	["instruction", [
		["keyword", "MAINTAINER"],
		" SvenDowideit@home.org.au"
	]],
	["instruction", [
		["keyword", "RUN"],
		" cd /tmp"
	]],
	["instruction", [
		["keyword", "EXPOSE"],
		" 5900"
	]],
	["instruction", [
		["keyword", "ENV"],
		" myName John Doe"
	]],
	["instruction", [
		["keyword", "COPY"],
		" hom* /mydir/"
	]],
	["instruction", [
		["keyword", "VOLUME"],
		" /myvol"
	]],
	["instruction", [
		["keyword", "USER"],
		" daemon"
	]],
	["instruction", [
		["keyword", "WORKDIR"],
		" /a"
	]],
	["instruction", [
		["keyword", "HEALTHCHECK"],
		["keyword", "CMD"],
		" echo ",
		["string", "\"foo\""]
	]],
	["instruction", [
		["keyword", "HEALTHCHECK"],
		["keyword", "NONE"]
	]],
	["instruction", [
		["keyword", "LABEL"],
		" version=",
		["string", "\"1.0\""]
	]],
	["instruction", [
		["keyword", "ENTRYPOINT"],
		" [",
		["string", "\"top\""],
		", ",
		["string", "\"-b\""],
		"]"
	]],
	["instruction", [
		["keyword", "ARG"],
		" user1"
	]],
	["instruction", [
		["keyword", "SHELL"],
		" [",
		["string", "\"powershell\""],
		", ",
		["string", "\"-command\""],
		"]"
	]],
	["instruction", [
		["keyword", "STOPSIGNAL"],
		" signal"
	]]
]

----------------------------------------------------

Checks for keywords.
