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

Use docker contexts for fetching sources (where possible) #927

Open
nightkr opened this issue Nov 11, 2024 · 1 comment
Open

Use docker contexts for fetching sources (where possible) #927

nightkr opened this issue Nov 11, 2024 · 1 comment

Comments

@nightkr
Copy link
Member

nightkr commented Nov 11, 2024

Docs: https://docs.docker.com/build/bake/contexts/

This should let us get rid of a bunch of redundant downloading code, but more importantly make it easier to patch out components ("use this local jmx-exporter sources instead of downloading the pinned version from git").

@NickLarsenNZ
Copy link
Member

NickLarsenNZ commented Feb 18, 2025

This is already happening to a degree. Or at least when I look at the generated bake file, I see contexts.

Eg:

FROM stackable/image/statsd_exporter AS statsd_exporter-builder
  "target": {
    "airflow-2_10_2": {
      "context": ".",
      "contexts": {
        "stackable/image/statsd_exporter": "target:statsd_exporter-0_28_0",
        "stackable/image/vector": "target:vector-0_43_1"
      },

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