aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-01-16 15:21:29 +0100
committerAlex Auvolat <alex@adnab.me>2024-01-16 15:21:45 +0100
commit5a4bd88903d88a42a91f682be0fb8e20c50b9638 (patch)
treeecafb68250f34192b2b293613640554d3d600378
parent05872634a42bf0aef3ab0a2760e2be4590bc8b73 (diff)
downloaddiplonat-5a4bd88903d88a42a91f682be0fb8e20c50b9638.tar.gz
diplonat-5a4bd88903d88a42a91f682be0fb8e20c50b9638.zip
dockerfile: update rust version
-rw-r--r--Dockerfile2
-rw-r--r--src/fw.rs1
2 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index f22575b..0beb12a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM rust:1.57-bullseye as builder
+FROM rust:1.69-bullseye as builder
RUN apt-get update && \
apt-get install -y libssl-dev pkg-config
diff --git a/src/fw.rs b/src/fw.rs
index a3e6dec..a320fa2 100644
--- a/src/fw.rs
+++ b/src/fw.rs
@@ -1,4 +1,5 @@
use std::collections::HashSet;
+use std::sync::Arc;
use anyhow::{Context, Result};
use iptables;