kassane commented on a change in pull request #5732: URL: https://github.com/apache/incubator-nuttx/pull/5732#discussion_r825470083
########## File path: tools/ci/docker/linux/Dockerfile ########## @@ -68,6 +70,30 @@ RUN mkdir -p $CARGO_HOME \ && $CARGO_HOME/bin/rustup target add thumbv6m-none-eabi \ && $CARGO_HOME/bin/rustup target add thumbv7m-none-eabi + +# Install Zig from NuttX +ENV ZIG_HOME=/tools/zig + +# Stable +#RUN apt-get install -y -qq \ +# python3 \ +# python3-pip \ +# && mkdir $ZIG_HOME \ +# && pip3 install ziglang \ +# && python3 -m ziglang version + +# Nightly +RUN curl -s https://ziglang.org/download/index.json \ + | jq --raw-output '.master."x86_64-linux".tarball' \ + | wget -q --show-progress -i -; \ Review comment: In this case curl just reads the json to transmit the info. You can change it, but I couldn't tell you how it would behave! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org