@@ -10,29 +10,25 @@ ARG VERSION=22.04
1010ARG OS_NAME=ubuntu
1111FROM $OS_NAME:$VERSION
1212
13- ADD install_dependencies.sh /usr/local/bin
14- RUN chmod +x /usr/local/bin/install_dependencies.sh
15-
16- RUN TZ=Europe/Madrid && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
17- RUN install_dependencies.sh && apt-get install -y --no-install-recommends \
18- git git-lfs \
19- clang llvm \
20- ccache gcovr valgrind \
21- python3-dev python3-venv \
22- && apt-get autoremove && apt-get clean && rm -rf /var/lib/apt/lists/* && git lfs install
23-
24- RUN (DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends libclang-rt-dev || true) \
25- && apt-get autoremove && apt-get clean && rm -rf /var/lib/apt/lists/*
26-
27- ADD builder.sh /usr/local/bin
28- RUN chmod +x /usr/local/bin/builder.sh
29-
30- RUN python3 -m venv /usr/local/builder_tools
31- RUN /usr/local/builder_tools/bin/pip install "pandas<3" "psutil"
32- ADD changed_tests.py /usr/local/bin
33- RUN chmod +x /usr/local/bin/changed_tests.py
34- ADD ram_reporter.py /usr/local/bin
35- RUN chmod +x /usr/local/bin/ram_reporter.py
13+ RUN TZ=Europe/Madrid && \
14+ ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
15+ echo $TZ > /etc/timezone && \
16+ apt-get update && \
17+ apt-get install -y --no-install-recommends \
18+ git git-lfs \
19+ clang llvm \
20+ ccache gcovr valgrind \
21+ python3-dev python3-venv && \
22+ (apt-get install -y --no-install-recommends libclang-rt-dev || true) && \
23+ apt-get autoremove && apt-get clean && rm -rf /var/lib/apt/lists/* && \
24+ git lfs install
25+
26+ ADD install_dependencies.sh builder.sh changed_tests.py ram_reporter.py /usr/local/bin/
27+ RUN chmod +x /usr/local/bin/install_dependencies.sh /usr/local/bin/builder.sh /usr/local/bin/changed_tests.py /usr/local/bin/ram_reporter.py && \
28+ /usr/local/bin/install_dependencies.sh && \
29+ apt-get autoremove && apt-get clean && rm -rf /var/lib/apt/lists/* && \
30+ python3 -m venv /usr/local/builder_tools && \
31+ /usr/local/builder_tools/bin/pip install "pandas<3" "psutil"
3632
3733ADD uhd /opt/uhd
3834ADD dpdk /opt/dpdk
0 commit comments