Skip to content

Commit 98d6940

Browse files
committed
Install Rust toolchain
1 parent 9335835 commit 98d6940

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20 as ui-builder
1+
FROM node:20 AS ui-builder
22

33
COPY quickwit/quickwit-ui /quickwit/quickwit-ui
44

@@ -29,15 +29,14 @@ RUN apt-get -y update \
2929
protobuf-compiler \
3030
&& rm -rf /var/lib/apt/lists/*
3131

32-
# Required by tonic
33-
RUN rustup component add rustfmt
34-
3532
COPY quickwit /quickwit
3633
COPY config/quickwit.yaml /quickwit/config/quickwit.yaml
3734
COPY --from=ui-builder /quickwit/quickwit-ui/build /quickwit/quickwit-ui/build
3835

3936
WORKDIR /quickwit
4037

38+
RUN rustup toolchain install
39+
4140
RUN echo "Building workspace with feature(s) '$CARGO_FEATURES' and profile '$CARGO_PROFILE'" \
4241
&& RUSTFLAGS="--cfg tokio_unstable" \
4342
cargo build \

0 commit comments

Comments
 (0)