This is just an example of minimal code that can be executed in a
container with no additional support (e.g. copying dynamic libs). Mainly
so I don't forget how to do it. Just look at the code,
Makefile and Dockerfile to see what it is doing. To compile,
the static libraries available, and you must also compile with
static
and nostartfiles
so that _start
is a viable entry point
and the static libraries are linked.
-
Notifications
You must be signed in to change notification settings - Fork 0
How to write a simple static lib program for Docker
License
ColinShaw/docker-program-no-environment
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
How to write a simple static lib program for Docker
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published