Skip to content

Instantly share code, notes, and snippets.

@themalkolm
Created February 21, 2017 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save themalkolm/754db085a9fb59623e24266b6b844245 to your computer and use it in GitHub Desktop.
Save themalkolm/754db085a9fb59623e24266b6b844245 to your computer and use it in GitHub Desktop.
$ cat Dockerfile
FROM scratch
COPY build/foobar /usr/bin/foobar
COPY build/foobar.json /etc/foobar.json
ENTRYPOINT /usr/bin/foobar
$ docker build -f Dockerfile
...
$ cat Dockerfile.yaml
from: scratch
copy: build/foobar /usr/bin/foobar
copy: build/foobar.json /etc/foobar.json
entrypoint: /usr/bin/foobar
$ docker-yaml build -f Dockerfile.yaml
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment