Commit 2629c1b6 authored by Guillaume Tucker's avatar Guillaume Tucker
Browse files

Dockerfile: use gcc-7 which has retpoline support

The default gcc v8 in Debian Buster causes this kernel build error:

  You are building kernel with non-retpoline compiler.

So we need to use gcc-7 instead which has retpoline support.
Signed-off-by: Guillaume Tucker's avatarGuillaume Tucker <>
parent b534aa69
# no comment again
FROM debian:buster-slim
ARG DEBIAN_FRONTEND=noninteractive
......@@ -21,7 +23,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
debhelper \
dh-exec \
flex \
gcc \
gcc-7 \
git \
gcc-multilib \
kernel-wedge \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment