From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by mail.toke.dk (Postfix) with ESMTPS id C6EBA7C04F0 for ; Mon, 28 Dec 2020 10:39:43 +0100 (CET) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=hqhQ2TuH Received: by mail-ed1-x536.google.com with SMTP id b2so9242754edm.3 for ; Mon, 28 Dec 2020 01:39:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:cc:subject:from:to:content-transfer-encoding:date :message-id:references:in-reply-to; bh=GYX5Clpd1cwBMaio2qRuHrvVbjXtCSxXsBfYM1ItluA=; b=hqhQ2TuHCNJ708lDFxnyvQkwTcOTBzTOYMpXQYlRPofcnExhBuHXjDBagPXZq0w/LZ +2Ys82SEMDgd+K6F7CQg+qXO3xGzJ6a6jJLsXg7jTOHrih5xX1zw1XjsakJmuOzA6UAi Wxp1w3tWMZ8MdBnm6JrP3wt9+aOtIf3lamvXHuD8YnRGEA9xUb1jyOWcaiVPfsK7oDoK Ff9ajINi0NyUpMhbCsUE3XtIKL+HvuvwW3g6PWO3e7laR3nmCmu3KzqAGWe+6Ujhb25F GrN48FN4ROHLImXXxz65mKkYngbQf2i2lwrHTraoIPPuP2bdlPCS5v/RvAF9gEktRtut Pcxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:cc:subject:from:to :content-transfer-encoding:date:message-id:references:in-reply-to; bh=GYX5Clpd1cwBMaio2qRuHrvVbjXtCSxXsBfYM1ItluA=; b=B8ZozIJaF/9TF2UWQ/YKEb4r3tbUDlDplgQ2XE3T72GmmYyER8h9YyHSoDEkJNDBmd etuGuZk5U8fDWfX9vugDkpxSbGrA77b+8n0uZd+jlIuLzC/kPuImbV9B/vdL2LI9n4FB 8d0upcWG/3ODA6Hqeh0o4WXZCQjw+GgQeyTAh7qsJBmhSzQHNm/qg5Ry2wQ30kY5awxI 4j04YQxp0HH7F2uSGF2g3bRQqTyxNZ6Tb9Y6SbhxK/YoqofuVazjPKcNOp6hamSf9hrM vuJSCi67HhvrTx7W77wWQ3AumMD9D8+UNtUA6cCPULEvMob9ZkISyGXaQpgzs2Nn/s5r QR5A== X-Gm-Message-State: AOAM532xyGjCjl4lPAb8/CZleQfZaidXhgNYdesAg3GGmZ/qJtBU6w3g pXL0ZWnD/s/nHZFL2t5FB1Q= X-Google-Smtp-Source: ABdhPJxAWyGfVrULTw2RBEh+R23OGtZjE3hObVFK85UngMC/c6M9skrlHkZXv4QmcTuv5aPzrruOAg== X-Received: by 2002:aa7:c5d6:: with SMTP id h22mr35177374eds.82.1609148381996; Mon, 28 Dec 2020 01:39:41 -0800 (PST) Received: from localhost (2a02-8440-2140-550a-52eb-71ff-fe57-ae36.rev.sfr.net. [2a02:8440:2140:550a:52eb:71ff:fe57:ae36]) by smtp.gmail.com with ESMTPSA id bo20sm36188020edb.1.2020.12.28.01.39.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Dec 2020 01:39:41 -0800 (PST) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 From: =?utf-8?q?Antonin_D=C3=A9cimo?= To: "Jeroen van Veen" , "Cell" Content-Transfer-Encoding: quoted-printable Date: Mon, 28 Dec 2020 10:21:16 +0100 Message-Id: References: <0688ccc55ed16925427c08c0dfa9794e@kn1ght.org> <41iOS83_x7ZCTcMkNNxAKoVhYq4E7H9hFCmZXaSp_4s0R2vVPgYdYPXh3q0t69fbqmFduH86rXn42G0QZ-aHdvbVtQ1FNfEKoy7EEkMpF_8=@protonmail.com> In-Reply-To: <41iOS83_x7ZCTcMkNNxAKoVhYq4E7H9hFCmZXaSp_4s0R2vVPgYdYPXh3q0t69fbqmFduH86rXn42G0QZ-aHdvbVtQ1FNfEKoy7EEkMpF_8=@protonmail.com> Message-ID-Hash: 4KMSHX5ZAWERRTJB26ADSSP7GJL36XMA X-Message-ID-Hash: 4KMSHX5ZAWERRTJB26ADSSP7GJL36XMA X-MailFrom: antonin.decimo@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: "galene@lists.galene.org" X-Mailman-Version: 3.3.2 Precedence: list Subject: [Galene] Re: Docker image List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Hi! If your image is using a pre-compiled version of Gal=C3=A8ne, you=E2=80=99l= l lack portability across distributions and architectures. You should build Gal=C3=A8ne and run it inside the Dockerfile. You could even use a layered Dockerfile so that Gal=C3=A8ne is build in one image, then copied in the second image and run from there. Starting from scratch is a bad idea. I=E2=80=99d use instead the Golang Docker image. It is well documented: https://hub.docker.com/_/golang A simple workflow would be to have the Dockerfile inside the Gal=C3=A8ne repo and use the example Dockerfile: FROM golang:1.15 WORKDIR /go/src/galene COPY . . =20 RUN go get -d -v ./... RUN go install -v ./... =20 CMD ["galene"] Or you could build a "self-hosting" Dockerfile that download the package and its dependencies itself (this one is untested, I don't have the bandwidth right now): FROM golang:1.15 =20 WORKDIR /go/src/galene COPY data groups static ./ =20 RUN go get -d -v github.com/jech/galene RUN go install -v github.com/jech/galene =20 CMD ["galene"] The Golang project provides images for Linux, Windows, macOS, and various architectures that you can use as base images. Once an image is build, it is *not* portable to other systems or architectures; but the build script (the Dockerfile) may be portable. For Windows, nanoserver is the lightest image, windowsservercore is a bit more featured. -- Antonin