diff --git a/Dockerfile b/Dockerfile index 1666a08..4dc107f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,7 @@ ENV RUSTUP_HOME=/usr/local/rustup \ PATH=/usr/local/cargo/bin:$PATH \ RUST_VERSION=1.76.0 +ARG DEBIAN_FRONTEND=noninteractive RUN < hyper::Request { + pub fn build_http_request(&self, host_uri: &str) -> hyper::Request { let finish_uri = format!("{}/finish", host_uri); hyper::Request::builder() @@ -91,7 +90,7 @@ where } impl Output { - pub fn build_http_request(&self, host_uri: Uri) -> hyper::Request { + pub fn build_http_request(&self, host_uri: &str) -> hyper::Request { let uri = match self { Self::Notice { .. } => format!("{}/notice", host_uri), Self::Report { .. } => format!("{}/report", host_uri),