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