mirror of
https://github.com/netdata/netdata.git
synced 2025-04-06 22:38:55 +00:00
Use system copy of protobuf in Docker images and static builds. (#11496)
We know both environments provide a reliably stable copy, and this greatly improves build imes.
This commit is contained in:
parent
538ba0a2e5
commit
5ff0032310
2 changed files with 2 additions and 1 deletions
packaging
|
@ -26,7 +26,7 @@ WORKDIR /opt/netdata.git
|
|||
RUN chmod +x netdata-installer.sh && \
|
||||
cp -rp /deps/* /usr/local/ && \
|
||||
/bin/echo -e "INSTALL_TYPE='oci'\nPREBUILT_ARCH='$(uname -m)'" > ./system/.install-type && \
|
||||
./netdata-installer.sh --dont-wait --dont-start-it ${EXTRA_INSTALL_OPTS} \
|
||||
./netdata-installer.sh --dont-wait --dont-start-it --use-system-protobuf ${EXTRA_INSTALL_OPTS} \
|
||||
"$([ "$RELEASE_CHANNEL" = stable ] && echo --stable-channel)"
|
||||
|
||||
# files to one directory
|
||||
|
|
|
@ -31,6 +31,7 @@ run ./netdata-installer.sh \
|
|||
--dont-wait \
|
||||
--dont-start-it \
|
||||
--require-cloud \
|
||||
--use-system-protobuf \
|
||||
--dont-scrub-cflags-even-though-it-may-break-things
|
||||
|
||||
# Properly mark the install type
|
||||
|
|
Loading…
Add table
Reference in a new issue