Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging from scratch #43

Open
stuartpb opened this issue Jan 6, 2018 · 2 comments
Open

Packaging from scratch #43

stuartpb opened this issue Jan 6, 2018 · 2 comments

Comments

@stuartpb
Copy link
Collaborator

stuartpb commented Jan 6, 2018

I'm thinking - if this is feasible, which I'm led to believe it is - the official images could use multi-stage builds to build the binary from source using Ubuntu, then package it in an image FROM scratch, which would be even more minimal than using whatever version is packaged with Alpine (#32),

@yosifkit
Copy link
Contributor

yosifkit commented Jan 9, 2018

Just so you have a reference to multi-stage build support in Official Images: docker-library/official-images#3383.

@daveisfera
Copy link

Here's a Dockerfile that builds RethinkDB from scratch for Alpine and a Debian version would be pretty close as well:
#32 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants