Created
September 12, 2014 12:46
-
-
Save voxxit/327db00fcc0a3e9ca4cd to your computer and use it in GitHub Desktop.
Compiling from source on Busybox w/ Alpine Linux 3.0
This file contains hidden or 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
| FROM uggedal/alpine-3.0 | |
| # - update the source repositories | |
| # - add the 'build-base' metapackage, which includes: binutils, gcc, make, patch, libc-dev, g++ | |
| # - do your stuff to wget, gunzip, tar xf, configure, make, make install, etc. | |
| # - uninstall/purge the build-base package & dependencies | |
| RUN apk update && apk add build-base && \ | |
| # ... && \ | |
| apk del build-base --purge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment