fix: allow too_many_arguments in ProxyListener::new, add make to edge Dockerfile
This commit is contained in:
parent
29ce6fb8e9
commit
b446fd4f7b
2 changed files with 2 additions and 1 deletions
|
|
@ -28,6 +28,7 @@ pub struct ProxyListener {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ProxyListener {
|
impl ProxyListener {
|
||||||
|
#[allow(clippy::too_many_arguments)]
|
||||||
pub fn new(
|
pub fn new(
|
||||||
config: Arc<Config>,
|
config: Arc<Config>,
|
||||||
rate_limiter: Arc<RateLimiter>,
|
rate_limiter: Arc<RateLimiter>,
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
FROM rust:slim-bookworm AS builder
|
FROM rust:slim-bookworm AS builder
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y pkg-config libssl-dev clang libelf-dev libbpf-dev linux-libc-dev && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y pkg-config libssl-dev clang libelf-dev libbpf-dev linux-libc-dev make && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY Cargo.toml Cargo.lock rustfmt.toml ./
|
COPY Cargo.toml Cargo.lock rustfmt.toml ./
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue