Cache kernel source download

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
Nathan LeClaire 2016-04-27 22:45:12 +00:00
parent 80c3b91b86
commit 6ade5f97e9

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