Skip to content

Instantly share code, notes, and snippets.

@shykes
Last active August 29, 2015 13:56
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shykes/9300039 to your computer and use it in GitHub Desktop.
Save shykes/9300039 to your computer and use it in GitHub Desktop.
FROM ubuntu
RUN apt-get update -y
RUN apt-get install -y gcc
RUN gcc -o /src/myapp /src/myapp.c
IN /target {
FROM busybox
ENTRYPOINT /myapp
}
RUN cp /src/myapp /target/myapp
PUBLISH /target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment