From 5eda2c4288f68292935adf7de6667bc6ca042d2d Mon Sep 17 00:00:00 2001 From: "(on company time)" <_@_> Date: Fri, 16 Dec 2022 14:01:18 -0600 Subject: [PATCH] :package: build: Fix PTTH_QUIC Dockerfile --- crates/ptth_quic/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/ptth_quic/Dockerfile b/crates/ptth_quic/Dockerfile index dddc724..96b1423 100644 --- a/crates/ptth_quic/Dockerfile +++ b/crates/ptth_quic/Dockerfile @@ -20,7 +20,8 @@ cargo new --bin crates/ptth_server && \ cargo new --bin crates/ptth_file_server_bin && \ cargo new --bin tools/ptth_tail && \ cargo new --bin crates/debug_proxy && \ -cargo new --bin crates/ptth_quic +cargo new --bin crates/ptth_quic && \ +cargo new --lib crates/udp_over_tcp # copy over your manifests COPY ./Cargo.lock ./ @@ -29,6 +30,7 @@ COPY ./crates/always_equal/Cargo.toml ./crates/always_equal/ COPY ./crates/ptth_core/Cargo.toml ./crates/ptth_core/ COPY ./crates/ptth_relay/Cargo.toml ./crates/ptth_relay/ COPY ./crates/ptth_quic/Cargo.toml ./crates/ptth_quic/ +COPY ./crates/udp_over_tcp/Cargo.toml ./crates/udp_over_tcp/ # this build step will cache your dependencies RUN cargo build --release -p ptth_quic @@ -50,6 +52,7 @@ COPY ./crates/ptth_core ./crates/ptth_core COPY ./crates/ptth_relay ./crates/ptth_relay COPY ./handlebars/ ./handlebars COPY ./crates/ptth_quic ./crates/ptth_quic +COPY ./crates/udp_over_tcp ./crates/udp_over_tcp # Bug in cargo's incremental build logic, triggered by # Docker doing something funny with mtimes? Maybe?