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

Shrink size of dev container #12

Open
iansmith opened this issue Jan 2, 2023 · 0 comments
Open

Shrink size of dev container #12

iansmith opened this issue Jan 2, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@iansmith
Copy link
Owner

iansmith commented Jan 2, 2023

Currently, the dev container is 4.6GB because it includes an ubuntu server and a ton of added packages.

Shrink the size of the devcontainer using multi-stage builds

With alpine, we might have to ditch the machinery we currently have that creates a parigot user and then makes all the tools and such owned by the parigot user and group. It's ok if this goes away to get us to a much smaller container size.

There is are already some tags that provide access to an alpine-based container image with golang.

1.19.4-alpine3.17, 1.19-alpine3.17, 1-alpine3.17, alpine3.17, 1.19.4-alpine, 1.19-alpine, 1-alpine, alpine

@iansmith iansmith added the good first issue Good for newcomers label Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant