⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.23
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
src
/
netdata
/
build_external
/
View File Name :
clean-install-arch.Dockerfile
FROM archlinux/base:latest # There is some redundancy between this file and the archlinux Dockerfile in the helper images # repo and also with the clean-install.Dockerfile. Once the help image is available on Docker # Hub this file can be deleted. RUN pacman -Sy RUN pacman --noconfirm --needed -S autoconf \ autoconf-archive \ autogen \ automake \ gcc \ make \ git \ libuv \ lz4 \ netcat \ openssl \ pkgconfig \ python \ libvirt \ cmake 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 CMD ["/usr/sbin/netdata", "-D"]