mirror of
https://github.com/netdata/netdata.git
synced 2025-04-10 08:07:34 +00:00
fix(packaging): respect CFLAGS arg when building Docker image (#13340)
This commit is contained in:
parent
9438e7f1bf
commit
8c272e919f
1 changed files with 1 additions and 1 deletions
|
@ -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 && \
|
||||
CFLAGS="-O2 -pipe" ./netdata-installer.sh --dont-wait --dont-start-it --use-system-protobuf \
|
||||
CFLAGS=${CFLAGS:-"-O2 -pipe"} ./netdata-installer.sh --dont-wait --dont-start-it --use-system-protobuf \
|
||||
${EXTRA_INSTALL_OPTS} --one-time-build "$([ "$RELEASE_CHANNEL" = stable ] && echo --stable-channel)"
|
||||
|
||||
# files to one directory
|
||||
|
|
Loading…
Add table
Reference in a new issue