summaryrefslogtreecommitdiffstats
path: root/.github/dockerfiles/Dockerfile.build_test
blob: 50cfdee06c4afa2975e0e1e981e377800824dee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ARG BASE

FROM ${BASE}

ARG PRE
ENV PRE=${PRE}
ARG RMJSONC
ENV RMJSONC=${RMJSONC}
ENV DO_NOT_TRACK=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