docker: use eatmydata, install common build packages in base image
The common build packages are: build-essential clang git bison flex Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> [AJB: fixups following stretch update] Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
parent
cf80eb8d09
commit
96e659d006
|
@ -14,4 +14,7 @@ RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.lis
|
|||
|
||||
# Install common build utilities
|
||||
RUN apt update
|
||||
RUN apt install -yy build-essential clang ca-certificates
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata
|
||||
RUN DEBIAN_FRONTEND=noninteractive eatmydata \
|
||||
apt install -y --no-install-recommends \
|
||||
ca-certificates build-essential clang git bison flex
|
||||
|
|
Loading…
Reference in a new issue