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

Why is there no build context for base-image? #231

Open
ShrirajHegde opened this issue Jan 13, 2024 · 2 comments
Open

Why is there no build context for base-image? #231

ShrirajHegde opened this issue Jan 13, 2024 · 2 comments

Comments

@ShrirajHegde
Copy link

In base-image service in docker-compose, why doesn't base-image have a context?

Wouldn't adding the context make it easy to build and run the services with just:

docker compose up -d --build

Without requiring an extra build step?

@tropicoo
Copy link
Owner

Base image needs to be built firstly. It’s used in other images.

@ShrirajHegde
Copy link
Author

ShrirajHegde commented Jan 13, 2024

Ah, okay.

Why not provide an official image? GitHub's workflows can be used to build and publish on every push/release.

Then tools like watchtower can be used to keep it up to date.

If you want, I can create a pull request with workflow implementation.

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

2 participants