Skip to content

Docker image #159

@vincent-tr

Description

@vincent-tr

Is your feature request related to a problem? Please describe.
The image published on docker hub is ~900MB.
I'm a bit concerned about that.

Describe the solution you'd like
A smaller image, I guess it should be possible to be a few hundred MB or even less.

Describe alternatives you've considered
I gave a look at other docker hub's tag, and I saw the image was 90MB on v1.xx, and 300MB on v2.0.xx.
I saw that on repo gitconvex-server you managed to use golang:alpine base image instead of golang, and used pre-packaged libraries instead of building them from sources. Is there a reason to not do it in this repo?

Additional context
I suppose it could also be useful to compile go binary like you suggest in Building from source documentation, and only keep binaries in the docker image. Same for UI build.
If needed, I can try to propose a PR on this. Note that I'm not very familiar with go.

Metadata

Metadata

Assignees

Labels

Feature requestFeatures which are requested by users or collaborators

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions