mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-12-02 14:28:08 +01:00
11 lines
209 B
Bash
Executable File
11 lines
209 B
Bash
Executable File
#!/bin/bash
|
|
|
|
VERSION=$1
|
|
|
|
if [[ -z $VERSION ]]; then
|
|
echo "Please specify a kernel version."
|
|
exit 1
|
|
fi
|
|
|
|
curl -sSL https://www.kernel.org/pub/linux/kernel/v3.x/linux-${VERSION}.tar.xz | tar -v -C /usr/src -xJ
|