How to build latest RancherOS?

Hi.

I build my own RancherOS image on CentOS7, but I saw ‘FATAL: kernel too old’ error.

$ git clone https://github.com/rancher/os.git
$ make
.
.
.
Step 1/10 : FROM rancher/os-rootfs
 ---> 0327f8390d87
Step 2/10 : RUN ln -s /dev/null /etc/udev/rules.d/80-net-name-slot.rules
 ---> Running in 44d64fb40ca2
FATAL: kernel too old
The command '/bin/sh -c ln -s /dev/null /etc/udev/rules.d/80-net-name-slot.rules' returned a non-zero code: 127
DEBU[0000] Failed running /usr/bin/docker [build -f images/01-base/Dockerfile -t rancher/os-base images/01-base]: exit status 1
FATA[0000] exit status 1
+ '[' 1 '!=' 42 ']'
+ exit 1
FATA[0083] exit status 1
make: *** [default] Error 1

I use docker 17.09.0-ce.

# docker --version
Docker version 17.09.0-ce, build afdb6d4

Anyone build your own RancherOS?

the FATAL: kernel too old error message from Docker is pretty true - on
my debian and ubuntu boxes, I just upgrade to a more recent kernel, and
Docker is happy.

Its probable that there’s a way around this, but I’ve not spent time on it.