mirror of
https://github.com/netdata/netdata.git
synced 2025-03-16 22:13:38 +00:00
21 lines
651 B
Text
21 lines
651 B
Text
# The default value is overridden in every Dockerfile usage, but adding it here helps avoid issues with
|
|
# CI checks that require a non-empty or valid base image name. See more details here:
|
|
# https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
|
|
ARG BASE="netdata"
|
|
|
|
FROM ${BASE}
|
|
|
|
ARG PRE
|
|
ENV PRE=${PRE}
|
|
ARG RMJSONC
|
|
ENV RMJSONC=${RMJSONC}
|
|
ENV DISABLE_TELEMETRY=1
|
|
ENV GITHUB_ACTIONS=true
|
|
|
|
RUN echo "${PRE}" > /prep-cmd.sh && \
|
|
echo "${RMJSONC}" > /rmjsonc.sh && chmod +x /rmjsonc.sh && \
|
|
/bin/sh /prep-cmd.sh
|
|
|
|
COPY . /netdata
|
|
|
|
RUN /netdata/packaging/installer/install-required-packages.sh --dont-wait --non-interactive netdata
|