Skip to content

Commit

Permalink
Add hurl to devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed Dec 18, 2023
1 parent 8dfe300 commit 140e0ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ RUN cargo binstall cargo-nextest cargo-llvm-cov cargo-release --secure -y
# Platform specific tooling
ARG TARGETPLATFORM
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ] ; then \
echo "Running arm64 branch" && \
curl -L https://github.com/Orange-OpenSource/hurl/releases/download/4.1.0/hurl-4.1.0-aarch64-unknown-linux-gnu.tar.gz -o hurl.tar.gz && \
tar -xzf hurl.tar.gz -C /usr/local/bin && rm hurl.tar.gz && \
rustup component add llvm-tools-preview --toolchain 1.70.0-aarch64-unknown-linux-gnu; \
elif [ "$TARGETPLATFORM" = "linux/amd64" ] ; then \
echo "Running amd64 branch" && \
curl -L https://github.com/Orange-OpenSource/hurl/releases/download/4.1.0/hurl-4.1.0-x86_64-unknown-linux-gnu.tar.gz -o hurl.tar.gz && \
tar -xzf hurl.tar.gz -C /usr/local/bin && rm hurl.tar.gz && \
rustup component add llvm-tools-preview --toolchain 1.70.0-x86_64-unknown-linux-gnu && \
rustup toolchain install nightly && \
rustup target add x86_64-fortanix-unknown-sgx --toolchain nightly; \
Expand Down

0 comments on commit 140e0ea

Please sign in to comment.