Merge pull request #111 from nathanleclaire/cache_kernel_download

Cache kernel source download
This commit is contained in:
Justin Cormack 2016-04-28 08:59:53 +01:00
commit d00fd8bff3

View File

@ -25,9 +25,10 @@ RUN apt-get update && apt-get -y upgrade && apt-get -y install \
ncurses-dev \
p7zip-full \
lzop \
wget \
gcc-arm-linux-gnueabihf
ADD ${KERNEL_SOURCE} .
RUN wget ${KERNEL_SOURCE}
RUN cat linux-${KERNEL_VERSION}.tar.xz | tar --absolute-names -xJ && mv /linux-${KERNEL_VERSION} /linux