From 058f179d60e2d354404da3040441abcca0853d5d Mon Sep 17 00:00:00 2001 From: Justin Ossevoort Date: Tue, 2 Mar 2021 17:49:33 +0100 Subject: [PATCH] Release 1.0.2 with patched dependency --- Cargo.lock | 9 ++++----- Cargo.toml | 4 ++-- Dockerfile | 4 ++-- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 73c1b14..cd2f53c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -20,22 +20,21 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "claim-ip" -version = "1.0.1" +version = "1.0.2" dependencies = [ "nix", ] [[package]] name = "libc" -version = "0.2.86" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7282d924be3275cec7f6756ff4121987bc6481325397dde6ba3e7802b1a8b1c" +checksum = "265d751d31d6780a3f956bb5b8022feba2d94eeee5a84ba64f4212eedca42213" [[package]] name = "nix" version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa9b4819da1bc61c0ea48b63b7bc8604064dd43013e7cc325df098d49cd7c18a" +source = "git+https://github.com/internetionals/nix?branch=fix_sockaddr_ll_size#055f56ceba5f3f2b791df7e97b1cc4a0119a6792" dependencies = [ "bitflags", "cc", diff --git a/Cargo.toml b/Cargo.toml index d0ae759..a4476f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "claim-ip" -version = "1.0.1" +version = "1.0.2" authors = ["Justin Ossevoort "] description = "Respond to ARP replies for a some address on a network interface" repository = "https://github.com/internetionals/claim-ip" @@ -10,4 +10,4 @@ license = "MIT" edition = "2018" [dependencies] -nix = "0.20" +nix = { git="https://github.com/internetionals/nix", branch="fix_sockaddr_ll_size" } diff --git a/Dockerfile b/Dockerfile index 6eef660..bf18929 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM rust:slim-buster AS buildenv +FROM rust:alpine3.13 AS buildenv COPY . /build WORKDIR /build RUN cargo build --release -FROM debian:buster-slim +FROM alpine:3.13 COPY --from=buildenv /build/target/release/claim-ip /usr/local/bin/