From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1.protonmail.ch (mail1.protonmail.ch [185.70.40.18]) by mail.toke.dk (Postfix) with ESMTPS id EEA237D372F for ; Tue, 26 Jan 2021 17:58:17 +0100 (CET) Authentication-Results: mail.toke.dk; dkim=pass (1024-bit key) header.d=protonmail.com header.i=@protonmail.com header.b=M0eo4kK9 Date: Tue, 26 Jan 2021 16:58:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1611680294; bh=pJU/fzfWDqDeEDE8JNJ3/lunNr852pr8ceNdx08BLi4=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=M0eo4kK9xSk08nqo8bNfv78eYmK3kap3+H5YyAEXUVm4xb/P284v/iE7wf+r+Pv/p sELvtJQZ63B2s0lwJ2Xb715zyEBzF9f9lkK39TiEIFL6G6jaapZ2fRFwp5JIOcKvpZ ZY8LtXPct7lDhSw8z5gwbb4otdXeuy0X659aMMlY= To: =?utf-8?Q?Antonin_D=C3=A9cimo?= From: Jeroen van Veen Message-ID: In-Reply-To: References: <0688ccc55ed16925427c08c0dfa9794e@kn1ght.org> <41iOS83_x7ZCTcMkNNxAKoVhYq4E7H9hFCmZXaSp_4s0R2vVPgYdYPXh3q0t69fbqmFduH86rXn42G0QZ-aHdvbVtQ1FNfEKoy7EEkMpF_8=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Message-ID-Hash: 2YEUUWFI5SFM2CVPZXECTHYGT3Z6AF45 X-Message-ID-Hash: 2YEUUWFI5SFM2CVPZXECTHYGT3Z6AF45 X-MailFrom: jvanveen@protonmail.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: Cell , "galene@lists.galene.org" X-Mailman-Version: 3.3.2 Precedence: list Reply-To: Jeroen van Veen 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: I've updated the image with the Dockerfile additions you suggested. The groups and config are mounted using docker-compose. The image is at: https://github.com/garage44/pyrite/blob/main/docker/galene/Dockerfile https://hub.docker.com/r/garage44/galene Locally it works fine, but Galene gives a warning (TURN: no public addresse= s), which suggests I still lack some config. =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Op maandag, december 28, 2020 7:08 PM, Jeroen van Veen schreef: > Hi Antonin, > > Thanks for the detailed description! I'll give it a try with > the golang base-image instead. > > cheers, > > Jeroen > > =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original = Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 > Op maandag, december 28, 2020 10:21 AM, Antonin D=C3=A9cimo antonin.decim= o@gmail.com schreef: > > > Hi! > > If your image is using a pre-compiled version of Gal=C3=A8ne, you= =E2=80=99ll lack > > portability across distributions and architectures. You should build > > Gal=C3=A8ne and run it inside the Dockerfile. You could even use a laye= red > > Dockerfile so that Gal=C3=A8ne is build in one image, then copied in th= e > > 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 . . > > RUN go get -d -v ./... > > RUN go install -v ./... > > 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 > > WORKDIR /go/src/galene > > COPY data groups static ./ > > RUN go get -d -v github.com/jech/galene > > RUN go install -v github.com/jech/galene > > 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 > > Galene mailing list -- galene@lists.galene.org > > To unsubscribe send an email to galene-leave@lists.galene.org