1
0
Fork 0

Fix kernel generation for Ubuntu 14.04

timestamps
dump_stack() 2018-10-06 21:35:24 +00:00
parent 335d4e8211
commit 71c0395f62
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,9 @@
FROM ubuntu:14.04
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y linux-image-3*-generic linux-image-4*-generic linux-headers-*-generic build-essential wget git
# for linux-image-3*-generic, so... CRUTCHES!
# E: Unable to locate package linux-image-3*-generic
ENV DEBIAN_FRONTEND=noninteractive
RUN apt search linux-image | grep -e linux-image-3 -e linux-image-4 | grep generic | cut -d '/' -f 1 | xargs apt install -y
RUN apt search linux-headers | grep -e linux-headers-3 -e linux-headers-4 | grep generic | cut -d '/' -f 1 | xargs apt install -y