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

Standardise Mechanism for Skipping Docker Image Building #14

Closed
kilo52 opened this issue Dec 15, 2023 · 0 comments · Fixed by #48
Closed

Standardise Mechanism for Skipping Docker Image Building #14

kilo52 opened this issue Dec 15, 2023 · 0 comments · Fixed by #48
Assignees
Labels
Improvement Improvement of an existing feature Templates Changes in project source templates

Comments

@kilo52
Copy link
Member

kilo52 commented Dec 15, 2023

When creating a new project with project-init and enabling Docker integration, the default project control code always rebuilds the Docker image. In most cases that's the desired and most convenient behaviour so that users do not have to remember to rebuild manually when something changes. When no changes are detected, a Docker image can be rebuilt very quickly since layers are cached.

However, there should be a standardised way to specify, as part of the project control code or the project's environment itself, that the (re)-building of the Docker image should be skipped. For example, this could be accomplished by defining an environment variable which is then checked by the project control code. We might introduce a common pattern for this behaviour.

@kilo52 kilo52 converted this from a draft issue Dec 15, 2023
@kilo52 kilo52 added Improvement Improvement of an existing feature Templates Changes in project source templates labels Dec 15, 2023
@kilo52 kilo52 self-assigned this May 15, 2024
@kilo52 kilo52 moved this from Open to Evaluation in Systems, Tools & Common Libraries (STCL) May 15, 2024
@kilo52 kilo52 moved this from Evaluation to Development in Systems, Tools & Common Libraries (STCL) May 23, 2024
@kilo52 kilo52 linked a pull request May 23, 2024 that will close this issue
@kilo52 kilo52 moved this from Development to Review in Systems, Tools & Common Libraries (STCL) May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Improvement of an existing feature Templates Changes in project source templates
Development

Successfully merging a pull request may close this issue.

1 participant