From 1be879ca9363c7a6480f6838dd1cbaa147199547 Mon Sep 17 00:00:00 2001 From: Lars Baumgaertner <1264131+gh0st42@users.noreply.github.com> Date: Wed, 28 Feb 2024 10:39:22 +0000 Subject: [PATCH] build(docker): alpine image no build dtn7 without d7sneakers store to reduce binary size --- dockerfiles/Dockerfile.alpine-slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfiles/Dockerfile.alpine-slim b/dockerfiles/Dockerfile.alpine-slim index d79cce59..67430add 100644 --- a/dockerfiles/Dockerfile.alpine-slim +++ b/dockerfiles/Dockerfile.alpine-slim @@ -5,7 +5,7 @@ RUN apk add musl-dev COPY . dtn7 RUN cd dtn7 && \ cargo install --locked --bins --examples --root /usr/local --path examples && \ - cargo install --locked --bins --examples --root /usr/local --path core/dtn7 + cargo install --locked --bins --examples --root /usr/local --no-default-features -F store_sled --path core/dtn7 FROM docker.io/alpine:latest