diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-24 09:54:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-24 09:54:44 +0000 |
commit | 836b47cb7e99a977c5a23b059ca1d0b5065d310e (patch) | |
tree | 1604da8f482d02effa033c94a84be42bc0c848c3 /build_external/clean-install.Dockerfile | |
parent | Releasing debian version 1.44.3-2. (diff) | |
download | netdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.tar.xz netdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.zip |
Merging upstream version 1.46.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build_external/clean-install.Dockerfile')
-rw-r--r-- | build_external/clean-install.Dockerfile | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/build_external/clean-install.Dockerfile b/build_external/clean-install.Dockerfile deleted file mode 100644 index 0ee154e30..000000000 --- a/build_external/clean-install.Dockerfile +++ /dev/null @@ -1,40 +0,0 @@ -ARG DISTRO=arch -ARG VERSION=current -FROM netdata/package-builders:${DISTRO}${VERSION} - -ARG ACLK=no -ARG EXTRA_CFLAGS - -COPY . /opt/netdata/source -WORKDIR /opt/netdata/source - -RUN git config --global user.email "root@container" -RUN git config --global user.name "Fake root" - -# RUN make distclean -> not safe if tree state changed on host since last config -# Kill everything that is not in .gitignore preserving any fresh changes, i.e. untracked changes will be -# deleted but local changes to tracked files will be preserved. -RUN if git status --porcelain | grep '^[MADRC]'; then \ - git stash && git clean -dxf && (git stash apply || true) \ - else \ - git clean -dxf ; \ - fi - -# Not everybody is updating distclean properly - fix. -RUN find . -name '*.Po' -exec rm \{\} \; -RUN rm -rf autom4te.cache -RUN rm -rf .git/ -RUN find . -type f >/opt/netdata/manifest - -RUN CFLAGS="-O1 -ggdb -Wall -Wextra -Wformat-signedness -DNETDATA_INTERNAL_CHECKS=1\ - -DNETDATA_VERIFY_LOCKS=1 ${EXTRA_CFLAGS}" ./netdata-installer.sh --disable-lto - -RUN ln -sf /dev/stdout /var/log/netdata/access.log && \ - ln -sf /dev/stdout /var/log/netdata/debug.log && \ - ln -sf /dev/stderr /var/log/netdata/error.log && \ - ln -sf /dev/stdout /var/log/netdata/fluentbit.log - -RUN rm /var/lib/netdata/registry/netdata.public.unique.id - -CMD ["/usr/sbin/netdata","-D"] -ENTRYPOINT [] |