Skip to content

Instantly share code, notes, and snippets.

@voxxit
Created September 12, 2014 12:46
Show Gist options
  • Select an option

  • Save voxxit/327db00fcc0a3e9ca4cd to your computer and use it in GitHub Desktop.

Select an option

Save voxxit/327db00fcc0a3e9ca4cd to your computer and use it in GitHub Desktop.
Compiling from source on Busybox w/ Alpine Linux 3.0
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