From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wIL8EDVoH2GAOAEAgWs5BA (envelope-from ) for ; Fri, 20 Aug 2021 10:30:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wN/GDDVoH2G4FgAAB5/wlQ (envelope-from ) for ; Fri, 20 Aug 2021 08:30:45 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 83FB3C119 for ; Fri, 20 Aug 2021 10:30:44 +0200 (CEST) Received: from localhost ([::1]:43594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGzvH-0000Lv-5Y for larch@yhetil.org; Fri, 20 Aug 2021 04:30:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGzuv-0000JZ-Hd for help-guix@gnu.org; Fri, 20 Aug 2021 04:30:22 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:39672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGzut-0003l5-W3 for help-guix@gnu.org; Fri, 20 Aug 2021 04:30:21 -0400 Received: by mail-wr1-x42f.google.com with SMTP id q6so13008407wrv.6 for ; Fri, 20 Aug 2021 01:30:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=UDVLtj5vtA026a4jozcKM3DV0OIk4IZKDq6Kqft8VM4=; b=WVARt6jqpBID7o2yEB0JduicKUhiltWtJ6ekGchwbTprzDSIQ6CZxqmIR8TMKeT/0W tLhai6cptXu1VP7I4SdxUIOLqAeqZBRxiRATf5Zam15Vc/iqoxFEX25nwfysnNBB+l+N iZuha3464BZx3cByxzT2b4vPIfdJI4gbI8Q0tzeaccA3hwwOAdjUaHMzk8T/NUbBKxKD 81SSTXEeYGknDwGWaPO/rlHiE6fDJikZ/YINvKwUqSLNTUbz/5e/XSw/a3NGNkcaNr4y mJ02Z6PZSRGM4SCNZaRrRt2p/wM1/43G9hLQ8GhciqlBYh9/BvVxgs9UIWCkO8DA/uj2 ANjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=UDVLtj5vtA026a4jozcKM3DV0OIk4IZKDq6Kqft8VM4=; b=ol2FPGIZQm1dqSUbMC9dSLX7Xggsebui5yweB+LkeUF3rS+7UOLvjP4Iqeh2KbVjQs XxKkLQjCtVb8WGQmH1rC5vLCe18W0SYDXNTCOwjyMBkH5jm3m0j3Eefv5qADRg4FQaEh GubtMwg4qglSycfVAIpPB4wWRRxTTUqVVFIEuCTg5UuPgceVNtxcto3QSyHVf8FlSlIO SEDNTqNjhQB7n+wDzUUYfNRGYfaGTM3u4sjnaVol0rTaNtWa7JA7Mt2xyTT6OBn11qqK 9KIuY/QYJkvI/GkK8mc5tmZv/3MtBkQOqu7XSGdHyMdRrAT2sDoddJMe9NoWGteZgz6S L90Q== X-Gm-Message-State: AOAM533o8Pmwwy+OqXPoKOoA55m9h1/nQ559o4f1JmKocYp5UPIuFp9r ZijQb+v+XD5MHCyRVWL5xsfE//leLsBJqQ== X-Google-Smtp-Source: ABdhPJybcnT2TxtBb6sF8XW4VUpkJJ/go5tFprptk4jtBMORDpwCDO70SlXv3uW6tUHBDTXR+6vhjw== X-Received: by 2002:adf:e6c4:: with SMTP id y4mr8498694wrm.220.1629448217915; Fri, 20 Aug 2021 01:30:17 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id d7sm5357033wrs.39.2021.08.20.01.30.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Aug 2021 01:30:17 -0700 (PDT) From: zimoun To: Todor =?utf-8?Q?Kondi=C4=87?= , "help-guix\\@gnu.org" Subject: Re: guix pack and exposing ports In-Reply-To: <4no0564iP4u1kbR3RQCYehUZKZl5ijwMQZqXrwP9MevWQE1Hh6fayNOPVIIXlSJ4cHZ2bd8NFstJgp8RIEIyRWpzjumzWbUKjQDMO4dXjcw=@protonmail.com> References: <4no0564iP4u1kbR3RQCYehUZKZl5ijwMQZqXrwP9MevWQE1Hh6fayNOPVIIXlSJ4cHZ2bd8NFstJgp8RIEIyRWpzjumzWbUKjQDMO4dXjcw=@protonmail.com> Date: Fri, 20 Aug 2021 10:20:38 +0200 Message-ID: <86eeaoplwp.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42f.google.com X-Spam_score_int: 9 X-Spam_score: 0.9 X-Spam_bar: / X-Spam_report: (0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, GOOG_STO_NOIMG_HTML=2.996, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629448245; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=UDVLtj5vtA026a4jozcKM3DV0OIk4IZKDq6Kqft8VM4=; b=noJz5jEsBCyh8uuuj1OtKq4pBMpuBlwm3H9WMzn5CZ0r1D8U3daKA1+cqf6f8XxRCE8zUO tu29yJHICrnHBbTQP8dEIrv3RxV8uK3a0j5eX6YlqppX79vzIbSiOkmf9yk6P4PfBhukIK WS/Nm+S9F/G9iUDbrb17V0PgtBqDksTcvY9d0zWELvF6bRGm/6wrabm9GReEzuUuXa2xfr NMIaW1hG4zeKbZDLGa2bprPuF3eqtZM1WCsnqBWmZpDiIKMp2YKHPtKPF8OxDYD/X3ONaf TP67FV+PFd1jXEP7Ws6pfl26291bZWZqPhV25DQaOwqH8F6sio4ZG3flw0s2/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629448245; a=rsa-sha256; cv=none; b=kLLTutctaH2M/gwEz2zBHhVY02ykyLXfyP3dW6yEwDzo0Zg9DuhJVCJxiHn4cXgjajuNzn nRqDUJtFoWoAbezRyDzPC1sCwLlS02gVeiaL9roTESVZUcACmPk9DUePA2h62qHW7XPXKz A1QHnBGqtHNz4shgKWuelBU3OR47Q5rTa0R00sEJiaF4Fxy9Fpl+Hyakp0ElGm5Hp2Pds/ qqf27GmZtPmZx06ocZOsj+4CoUxpx110HaC0eZUJsElqbPGKoKFJYBgyvMB3Szxc5A5pLo palbRg8sFH3MLNUF/IP2QyGXOzFNtsKh3grdghdtEAQcztIPKGtAkDJEMgiOLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=WVARt6jq; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=WVARt6jq; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 83FB3C119 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: QQdeQi2rXvHM Hi, In addition to Edouard=E2=80=99s answer. ;-) On Wed, 18 Aug 2021 at 21:00, Todor Kondi=C4=87 wr= ote: > Also, I note I'm getting ~10 GiG image for a flimsy program depending > on R and shiny. Somehow that doesn't feel right. :)=20 Well, it is a complicated topic. ;-) One thing is to carefully examine the graph and then identify unnecessary (potentially) dependencies, i.e., somehow create variant packages where the graph is drastically cut. For instance, the package =E2=80=99r-minimal=E2=80=99 brings TeXlive = (mainly for doc) and maybe it is not necessary for your use-case. You can use =E2=80= =9Cguix size=E2=80=9D to identify the items. On the other hand, =E2=80=9Cguix pack=E2=80=9D can be optimized. For insta= nce using Docker layers, see: Chris did some work in this direction, IIRC. Maybe a patch is floating around. :-) All the best, simon