From: Jeroen van Veen <jvanveen@protonmail.com>
To: "Antonin Décimo" <antonin.decimo@gmail.com>
Cc: Cell <galene.org@kn1ght.org>,
"galene@lists.galene.org" <galene@lists.galene.org>
Subject: [Galene] Re: Docker image
Date: Tue, 26 Jan 2021 16:58:09 +0000 [thread overview]
Message-ID: <GESQTJhljEk72NYzD43HoKIVRr2wXYKaT4J3ukWga9H1wPWfK0BUq7z40foQTNr0soFBVHY7w7eQj741CLStiik8BPel-dPMOOLxNXp-moY=@protonmail.com> (raw)
In-Reply-To: <x8tNpqWEsfyFm2NVP6dO1zGF5nmimPizg4LA-de-c_DgKEPCeFUbz8tz3q9UwjNXHLiWO0muiRev5kOJWxYM3UqqaDSx_ovMMkWy7BPPsTs=@protonmail.com>
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 addresses),
which suggests I still lack some config.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Op maandag, december 28, 2020 7:08 PM, Jeroen van Veen <jvanveen@protonmail.com> schreef:
> Hi Antonin,
>
> Thanks for the detailed description! I'll give it a try with
> the golang base-image instead.
>
> cheers,
>
> Jeroen
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> Op maandag, december 28, 2020 10:21 AM, Antonin Décimo antonin.decimo@gmail.com schreef:
>
> > Hi!
> > If your image is using a pre-compiled version of Galène, you’ll lack
> > portability across distributions and architectures. You should build
> > Galène and run it inside the Dockerfile. You could even use a layered
> > Dockerfile so that Galène is build in one image, then copied in the
> > second image and run from there.
> > Starting from scratch is a bad idea.
> > I’d 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ène
> > 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
next prev parent reply other threads:[~2021-01-26 16:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-27 17:03 [Galene] " Cell
2020-12-28 8:36 ` [Galene] " Jeroen van Veen
2020-12-28 9:21 ` Antonin Décimo
2020-12-28 9:57 ` Cell
2020-12-28 10:30 ` Juliusz Chroboczek
2020-12-28 10:42 ` Cell
2020-12-28 18:08 ` Jeroen van Veen
2021-01-26 16:58 ` Jeroen van Veen [this message]
2021-01-26 19:55 ` Juliusz Chroboczek
[not found] ` <OzDUklERX684nOGvtcdQ3NxZ5VBZumpDhMugrcaN69JCKflO-rnwI_4DJjcVPPYUUj_Hrw6kRao3SUsHzD3i9yoc1_TF_OuRyrRSNmBAc7Y=@protonmail.com>
2021-01-27 8:37 ` [Galene] Fw: " Jeroen van Veen
2021-01-26 21:01 ` [Galene] " Juliusz Chroboczek
2021-01-27 8:40 ` Jeroen van Veen
2020-12-28 9:56 ` Cell
2020-12-28 10:27 ` Juliusz Chroboczek
2020-12-28 10:11 ` Cell
2020-12-28 10:41 ` Cell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='GESQTJhljEk72NYzD43HoKIVRr2wXYKaT4J3ukWga9H1wPWfK0BUq7z40foQTNr0soFBVHY7w7eQj741CLStiik8BPel-dPMOOLxNXp-moY=@protonmail.com' \
--to=jvanveen@protonmail.com \
--cc=antonin.decimo@gmail.com \
--cc=galene.org@kn1ght.org \
--cc=galene@lists.galene.org \
--subject='[Galene] Re: Docker image' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox