From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; spf=pass (mailfrom) smtp.mailfrom=kn1ght.org (client-ip=91.121.222.131; helo=f1r3.kn1ght.org; envelope-from=cellophan@kn1ght.org; receiver=) Received: from f1r3.kn1ght.org (ks305909.kimsufi.com [91.121.222.131]) by mail.toke.dk (Postfix) with ESMTP id CA1877C0533 for ; Mon, 28 Dec 2020 10:57:41 +0100 (CET) Received: from localhost (ns342210.ip-91-121-151.eu [91.121.151.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by f1r3.kn1ght.org (Postfix) with ESMTPSA id 4225B1F55C; Mon, 28 Dec 2020 09:19:10 +0100 (CET) Date: Mon, 28 Dec 2020 10:57:40 +0100 In-Reply-To: References: <0688ccc55ed16925427c08c0dfa9794e@kn1ght.org> <41iOS83_x7ZCTcMkNNxAKoVhYq4E7H9hFCmZXaSp_4s0R2vVPgYdYPXh3q0t69fbqmFduH86rXn42G0QZ-aHdvbVtQ1FNfEKoy7EEkMpF_8=@protonmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----Z71BHZPZQY7SOQPR65NC8AER2AMEUG" Content-Transfer-Encoding: 7bit To: =?ISO-8859-1?Q?Antonin_D=E9cimo?= ,Jeroen van Veen ,Cell From: Cell Message-ID: <17F0E30F-485D-4D3A-9B43-81F7A50E3A98@kn1ght.org> X-MailFrom: cellophan@kn1ght.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation Message-ID-Hash: AAM42WEA7Y46BW7MJBI5NM6VXW4R4BY2 X-Message-ID-Hash: AAM42WEA7Y46BW7MJBI5NM6VXW4R4BY2 X-Mailman-Approved-At: Mon, 28 Dec 2020 11:23:30 +0100 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: ------Z71BHZPZQY7SOQPR65NC8AER2AMEUG Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Yep=2E That's my plan=2E Work in progress :) On 28 December 2020 10:21:16 CET, "Antonin D=C3=A9cimo" wrote: >Hi! > >If your image is using a pre-compiled version of Gal=C3=A8ne, you=E2=80= =99ll lack >portability across distributions and architectures=2E You should build >Gal=C3=A8ne and run it inside the Dockerfile=2E You could even use a laye= red >Dockerfile so that Gal=C3=A8ne is build in one image, then copied in the >second image and run from there=2E > >Starting from scratch is a bad idea=2E > >I=E2=80=99d use instead the Golang Docker image=2E It is well documented: > > https://hub=2Edocker=2Ecom/_/golang > >A simple workflow would be to have the Dockerfile inside the Gal=C3=A8ne >repo and use the example Dockerfile: > > FROM golang:1=2E15 > > WORKDIR /go/src/galene > COPY =2E =2E > =20 > RUN go get -d -v =2E/=2E=2E=2E > RUN go install -v =2E/=2E=2E=2E > =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=2E15 > =20 > WORKDIR /go/src/galene > COPY data groups static =2E/ > =20 > RUN go get -d -v github=2Ecom/jech/galene > RUN go install -v github=2Ecom/jech/galene > =20 > CMD ["galene"] > >The Golang project provides images for Linux, Windows, macOS, and >various architectures that you can use as base images=2E > >Once an image is build, it is *not* portable to other systems or >architectures; but the build script (the Dockerfile) may be portable=2E >For Windows, nanoserver is the lightest image, windowsservercore is a >bit more featured=2E > >-- Antonin ------Z71BHZPZQY7SOQPR65NC8AER2AMEUG Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Yep=2E That's my plan=2E Work in progress :)
On 28 December 2020 10:21:16 CET, "Antonin D= =C3=A9cimo" <antonin=2Edecimo@gmail=2Ecom> wrote:
Hi!

If your image is using a pre-compiled ver= sion of Gal=C3=A8ne, you=E2=80=99ll lack
portability across distribution= s and architectures=2E You should build
Gal=C3=A8ne and run it inside th= e Dockerfile=2E 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 fro= m there=2E

Starting from scratch is a bad idea=2E

I=E2=80=99d= use instead the Golang Docker image=2E It is well documented:

<= a href=3D"https://hub=2Edocker=2Ecom/_/golang">https://hub=2Edocker=2Ecom/_= /golang

A simple workflow would be to have the Dockerfile inside= the Gal=C3=A8ne
repo and use the example Dockerfile:

FROM go= lang:1=2E15

WORKDIR /go/src/galene
COPY =2E =2E
RUN go get -d -v =2E/=2E=2E=2E
RUN go install -v =2E/=2E=2E=2E=

CMD ["galene"]

Or you could build a "self-hosting" D= ockerfile that download the
package and its dependencies itself (this on= e is untested, I don't
have the bandwidth right now):

FROM go= lang:1=2E15

WORKDIR /go/src/galene
COPY data groups s= tatic =2E/

RUN go get -d -v github=2Ecom/jech/galene
= RUN go install -v github=2Ecom/jech/galene

CMD ["galene"]
The Golang project provides images for Linux, Windows, macOS, and
v= arious architectures that you can use as base images=2E

Once an imag= e is build, it is *not* portable to other systems or
architectures; but = the build script (the Dockerfile) may be portable=2E
For Windows, nanose= rver is the lightest image, windowsservercore is a
bit more featured=2E<= br>
-- Antonin
------Z71BHZPZQY7SOQPR65NC8AER2AMEUG--