File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
ARG RUST_VERSION
2
2
ARG FEATURES
3
- ARG DEBIAN_RELEASE=slim-bookworm
4
3
5
- FROM docker.io/rust:${RUST_VERSION}-${DEBIAN_RELEASE}
4
+ FROM docker.io/rust:${RUST_VERSION}-slim-bookworm
6
5
7
6
RUN apt-get update && apt-get -y --no-install-recommends install \
8
7
build-essential \
@@ -28,7 +27,7 @@ RUN git clone https://github.com/rui314/mold.git \
28
27
&& cmake --build . -j $(nproc) \
29
28
&& cmake --install .
30
29
31
- RUN rustup run "${RUST_VERSION}" cargo install cargo-nextest --version 0.9.72 --locked
30
+ RUN cargo install cargo-nextest --version 0.9.72 --locked
32
31
33
32
COPY scripts/environment/install-protoc.sh /
34
33
COPY tests/data/ca/certs /certs
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ RUN --mount=type=cache,target=/vector/target \
31
31
#
32
32
# TARGET
33
33
#
34
+ ARG DEBIAN_RELEASE
34
35
FROM docker.io/debian:${DEBIAN_RELEASE}-slim
35
36
RUN apt-get update && apt-get -y --no-install-recommends install zlib1g && rm -rf /var/lib/apt/lists/*
36
37
COPY --from=builder /vector/vector /usr/bin/vector
You can’t perform that action at this time.
0 commit comments