Created
February 21, 2017 14:11
-
-
Save themalkolm/754db085a9fb59623e24266b6b844245 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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