From 7a9aafac5ae838159b6ea12ac8e1b13fc6f3158e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Wed, 12 Jul 2023 12:42:40 +0200 Subject: [PATCH] chore, ci: move nextest install to `rust-upend` image --- .woodpecker.yml | 1 - build/rust-upend/Dockerfile | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index feab5e5..d6351a6 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -92,7 +92,6 @@ pipeline: group: test image: albedo.lan:5000/rust-upend:latest commands: - - curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C /usr/local/cargo/bin - task test:backend # volumes: # - rust_registry:/usr/local/cargo diff --git a/build/rust-upend/Dockerfile b/build/rust-upend/Dockerfile index cb07883..9dcfb78 100644 --- a/build/rust-upend/Dockerfile +++ b/build/rust-upend/Dockerfile @@ -1,4 +1,4 @@ FROM rust:latest RUN sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin -RUN cargo install wasm-pack -RUN rustup target add wasm32-unknown-unknown +RUN cargo install wasm-pack && rustup target add wasm32-unknown-unknown +RUN curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C /usr/local/cargo/bin