summaryrefslogtreecommitdiffstats
path: root/.github/dockerfiles
diff options
context:
space:
mode:
Diffstat (limited to '.github/dockerfiles')
-rw-r--r--.github/dockerfiles/Dockerfile.build_test9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/dockerfiles/Dockerfile.build_test b/.github/dockerfiles/Dockerfile.build_test
index 1dc3e303..aca89c09 100644
--- a/.github/dockerfiles/Dockerfile.build_test
+++ b/.github/dockerfiles/Dockerfile.build_test
@@ -4,8 +4,15 @@ 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 /bin/sh /netdata/prep-cmd.sh
RUN /netdata/packaging/installer/install-required-packages.sh --dont-wait --non-interactive netdata-all