rust 1.68.2 for updated rsa host key within cargo
This commit is contained in:
parent
2205a472fd
commit
a0c954ecf5
15
Dockerfile
15
Dockerfile
@ -1,15 +1,13 @@
|
|||||||
#
|
FROM rust:1.68.2-bullseye AS builder
|
||||||
# cargo-nextest
|
|
||||||
# We only pay the installation cost once,
|
|
||||||
# it will be cached from the second build onwards
|
|
||||||
#
|
|
||||||
FROM rust:1.67.1-bullseye AS builder
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENV CARGO_TERM_COLOR always
|
ENV CARGO_TERM_COLOR always
|
||||||
|
|
||||||
# a next-generation test runner for Rust projects.
|
# a next-generation test runner for Rust projects.
|
||||||
|
# We only pay the installation cost once,
|
||||||
|
# it will be cached from the second build onwards
|
||||||
# TODO: more mount type cache?
|
# TODO: more mount type cache?
|
||||||
|
# TODO: do this in a seperate FROM and COPY it in
|
||||||
RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||||
cargo install cargo-nextest
|
cargo install cargo-nextest
|
||||||
|
|
||||||
@ -18,7 +16,10 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
|||||||
ENV PATH /root/.foundry/bin:$PATH
|
ENV PATH /root/.foundry/bin:$PATH
|
||||||
RUN curl -L https://foundry.paradigm.xyz | bash && foundryup
|
RUN curl -L https://foundry.paradigm.xyz | bash && foundryup
|
||||||
|
|
||||||
RUN apt-get update && apt-get install --yes librdkafka-dev && rm -rf /var/lib/apt/lists/*
|
# install web3-proxy system dependencies. most things are rust-only, but not everything
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install --yes librdkafka-dev && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# copy the application
|
# copy the application
|
||||||
COPY . .
|
COPY . .
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "1.67.1"
|
channel = "1.68.2"
|
||||||
|
Loading…
Reference in New Issue
Block a user