diff --git a/Dockerfile b/Dockerfile index 838b52b..8c9cce5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,14 @@ -FROM ubuntu:xenial as build-env +# Use a relatively old/stable distro here to maximize the supported platforms +# and avoid depending on more recent version of, say, libc. +FROM debian:stretch RUN apt-get update \ && apt-get install -y --no-install-recommends \ - build-essential \ - clang \ - cmake \ - python \ - git \ - ninja-build \ + build-essential \ + clang \ + cmake \ + python \ + git \ + ninja-build \ + && apt-get clean \ && rm -rf /var/lib/apt/lists/*