diff options
author | Andrew Moss <1043609+amoss@users.noreply.github.com> | 2020-04-22 16:51:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-22 16:51:19 +0200 |
commit | 22f918af6e7bd1e8da57e3d2c543780554dc56e9 (patch) | |
tree | 504ddf9ab5164d2b477701865adc79628490d082 /build_external | |
parent | 51c44bb45fd6f4534fb3661f4d39093bb0386e18 (diff) |
Add http headers to responses (#8760)
The MQTT payloads for responses to API requests from the cloud now include a headers field with the raw http headers encoded into unicode. This exposes the `Date` and `Expired` fields to the cloud backend.
Diffstat (limited to 'build_external')
-rwxr-xr-x | build_external/bin/clean-install.sh | 10 | ||||
-rw-r--r-- | build_external/clean-install-arch-extras.Dockerfile | 3 |
2 files changed, 6 insertions, 7 deletions
diff --git a/build_external/bin/clean-install.sh b/build_external/bin/clean-install.sh index 20bcae66ae..78d1f325fe 100755 --- a/build_external/bin/clean-install.sh +++ b/build_external/bin/clean-install.sh @@ -33,19 +33,19 @@ if cat <<HAPPY_CASE | grep "$DISTRO-$VERSION" HAPPY_CASE then docker build -f "$BuildBase/clean-install.Dockerfile" -t "${DISTRO}_${VERSION}_dev" "$BuildBase/.." \ - --build-arg "DISTRO=$DISTRO" --build-arg "VERSION=$VERSION" --build-arg ACLK=yes \ + --build-arg "DISTRO=$DISTRO" --build-arg "VERSION=$VERSION" \ --build-arg EXTRA_CFLAGS="-DACLK_SSL_ALLOW_SELF_SIGNED" else case "$DISTRO-$VERSION" in arch-current) docker build -f "$BuildBase/clean-install-arch.Dockerfile" -t "${DISTRO}_${VERSION}_dev" "$BuildBase/.." \ - --build-arg "DISTRO=$DISTRO" --build-arg "VERSION=$VERSION" --build-arg ACLK=yes \ - --build-arg EXTRA_CFLAGS="-DACLK_SSL_ALLOW_SELF_SIGNED" + --build-arg "DISTRO=$DISTRO" --build-arg "VERSION=$VERSION" \ + --build-arg EXTRA_CFLAGS="-DACLK_SSL_ALLOW_SELF_SIGNED" # --no-cache ;; arch-extras) # Add valgrind to the container docker build -f "$BuildBase/clean-install-arch-extras.Dockerfile" -t "${DISTRO}_${VERSION}_dev" "$BuildBase/.." \ - --build-arg "DISTRO=$DISTRO" --build-arg "VERSION=$VERSION" --build-arg ACLK=yes \ - --build-arg EXTRA_CFLAGS="-DACLK_SSL_ALLOW_SELF_SIGNED" + --build-arg "DISTRO=$DISTRO" --build-arg "VERSION=$VERSION" \ + --build-arg EXTRA_CFLAGS="-DACLK_SSL_ALLOW_SELF_SIGNED" # --no-cache ;; *) echo "Unknown $DISTRO-$VERSION" diff --git a/build_external/clean-install-arch-extras.Dockerfile b/build_external/clean-install-arch-extras.Dockerfile index 47939039e4..4425283347 100644 --- a/build_external/clean-install-arch-extras.Dockerfile +++ b/build_external/clean-install-arch-extras.Dockerfile @@ -22,7 +22,6 @@ RUN pacman --noconfirm --needed -S autoconf \ cmake \ valgrind -ARG ACLK=no ARG EXTRA_CFLAGS COPY . /opt/netdata/source WORKDIR /opt/netdata/source @@ -46,7 +45,7 @@ RUN rm -rf .git/ RUN find . -type f >/opt/netdata/manifest RUN CFLAGS="-O1 -ggdb -Wall -Wextra -Wformat-signedness -fstack-protector-all -DNETDATA_INTERNAL_CHECKS=1\ - -D_FORTIFY_SOURCE=2 -DNETDATA_VERIFY_LOCKS=1 ${EXTRA_CFLAGS}" ./netdata-installer.sh --disable-lto + -D_FORTIFY_SOURCE=2 -DNETDATA_VERIFY_LOCKS=1 ${EXTRA_CFLAGS}" ./netdata-installer.sh --require-cloud --disable-lto RUN ln -sf /dev/stdout /var/log/netdata/access.log RUN ln -sf /dev/stdout /var/log/netdata/debug.log |