File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 66ARG ARCH=amd64-v3.8
77FROM multiarch/alpine:${ARCH} as builder
88
9+ ARG OUTPUT="/dev/stdout"
910# Install prerequisites
1011RUN apk --no-cache add alpine-sdk \
1112 autoconf \
@@ -33,8 +34,7 @@ WORKDIR /opt/netdata.git
3334
3435# Install from source
3536RUN chmod +x netdata-installer.sh && \
36- sync && sleep 1 && \
37- ./netdata-installer.sh --dont-wait --dont-start-it
37+ ./netdata-installer.sh --dont-wait --dont-start-it &>${OUTPUT}
3838
3939# files to one directory
4040RUN mkdir -p /app/usr/sbin/ \
Original file line number Diff line number Diff line change @@ -39,9 +39,11 @@ docker run --rm --privileged multiarch/qemu-user-static:register --reset
3939
4040# Build images using multi-arch Dockerfile.
4141for ARCH in " ${ARCHITECTURES[@]} " ; do
42- eval docker build --build-arg ARCH=" ${ARCH} -v3.8" \
43- --tag " ${REPOSITORY} :${VERSION} -${ARCH} " \
44- --file packaging/docker/Dockerfile ./ ${BG}
42+ eval docker build \
43+ --build-arg ARCH=" ${ARCH} -v3.8" \
44+ --build-arg OUTPUT=/dev/null \
45+ --tag " ${REPOSITORY} :${VERSION} -${ARCH} " \
46+ --file packaging/docker/Dockerfile ./ ${BG}
4547done
4648wait
4749
You can’t perform that action at this time.
0 commit comments