Skip to content

Instantly share code, notes, and snippets.

@d11wtq
Created March 7, 2014 00:42
Show Gist options
  • Save d11wtq/9402825 to your computer and use it in GitHub Desktop.
Save d11wtq/9402825 to your computer and use it in GitHub Desktop.
Suggested syntax to exclude directories from layers in an image.
FROM gentoo
MAINTAINER Bob
EXCLUDE /usr/portage
RUN emerge-webrsync
RUN emerge sys-devel/llvm
RUN emerge sys-devel/clang --autounmask-write
RUN etc-update --automode -5
RUN emerge sys-devel/clang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment