mirror of
https://github.com/netdata/netdata.git
synced 2025-03-18 06:43:02 +00:00
19 lines
571 B
Text
19 lines
571 B
Text
![]() |
FROM debian:buster AS build
|
||
|
|
||
|
# Disable apt/dpkg interactive mode
|
||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||
|
|
||
|
# Install all build dependencies
|
||
|
COPY packaging/installer/install-required-packages.sh /tmp/install-required-packages.sh
|
||
|
RUN /tmp/install-required-packages.sh --dont-wait --non-interactive netdata-all
|
||
|
|
||
|
# Install Clang and set as default CC
|
||
|
RUN apt-get install -y clang && \
|
||
|
update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100
|
||
|
|
||
|
WORKDIR /netdata
|
||
|
COPY . .
|
||
|
|
||
|
# Build Netdata
|
||
|
RUN ./netdata-installer.sh --dont-wait --dont-start-it --disable-go --require-cloud
|