Can be used in scripts:
docker build -t test -<<EOF FROM alpine ENTRYPOINT ["ping"] CMD ["8.8.8.8"] EOF