mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-02-17 09:37:49 +01:00
make layers smaller
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
81874bb6df
commit
47cfd6b5ec
|
@ -2,6 +2,8 @@ FROM debian:buster
|
||||||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
|
# install deps do this in sections so the layers are not mazzive
|
||||||
RUN dpkg --add-architecture i386 \
|
RUN dpkg --add-architecture i386 \
|
||||||
&& apt-get update && apt-get install -y \
|
&& apt-get update && apt-get install -y \
|
||||||
automake \
|
automake \
|
||||||
|
@ -22,6 +24,10 @@ RUN dpkg --add-architecture i386 \
|
||||||
hdparm \
|
hdparm \
|
||||||
iperf \
|
iperf \
|
||||||
kmod \
|
kmod \
|
||||||
|
--no-install-recommends \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
libaudit-dev \
|
libaudit-dev \
|
||||||
libbabeltrace-ctf-dev \
|
libbabeltrace-ctf-dev \
|
||||||
libc6-dev \
|
libc6-dev \
|
||||||
|
@ -39,6 +45,11 @@ RUN dpkg --add-architecture i386 \
|
||||||
linux-libc-dev \
|
linux-libc-dev \
|
||||||
linux-libc-dev:i386 \
|
linux-libc-dev:i386 \
|
||||||
linux-perf \
|
linux-perf \
|
||||||
|
--no-install-recommends \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
|
&& ln -snf /usr/bin/perf_4.9 /usr/bin/perf
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
make \
|
make \
|
||||||
nfs-common \
|
nfs-common \
|
||||||
openssl \
|
openssl \
|
||||||
|
@ -57,8 +68,7 @@ RUN dpkg --add-architecture i386 \
|
||||||
wget \
|
wget \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
--no-install-recommends \
|
--no-install-recommends \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
&& ln -snf /usr/bin/perf_4.9 /usr/bin/perf
|
|
||||||
|
|
||||||
ENV KERNEL_VERSION v4.13
|
ENV KERNEL_VERSION v4.13
|
||||||
ENV LKP_GIT_WORK_TREE /usr/src/linux
|
ENV LKP_GIT_WORK_TREE /usr/src/linux
|
||||||
|
|
Loading…
Reference in New Issue
Block a user