Skip to content

runtime: implement building image in Docker runtime #760

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

adambabik
Copy link
Collaborator

@adambabik adambabik commented Mar 10, 2025

This PR adds an ability to build a Docker image in Docker runtime. With runtime.docker.enabled = true, it should be possible to execute commands from Markdown files.

There are still limitations, for example, it's not possible to share env between commands.

@adambabik adambabik force-pushed the adamb/finish-impl-run-in-docker branch 2 times, most recently from 2324588 to 4b6e794 Compare March 10, 2025 21:55
@@ -130,11 +130,6 @@ func (sl *Cache[T]) Newest() (T, bool) {
return element.Value.(*listEntry[T]).entry, true
}

// Deprecated: Use Newest instead.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: Move it to a separate PR.

@adambabik adambabik force-pushed the adamb/finish-impl-run-in-docker branch from 676f110 to b0bb76e Compare March 22, 2025 19:20
@adambabik adambabik force-pushed the adamb/finish-impl-run-in-docker branch from b73fffa to be26669 Compare April 6, 2025 17:50
@adambabik adambabik force-pushed the adamb/finish-impl-run-in-docker branch from be26669 to 38b838e Compare April 6, 2025 17:54
@adambabik adambabik marked this pull request as ready for review April 6, 2025 17:54
@adambabik adambabik marked this pull request as draft April 6, 2025 18:21
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

Successfully merging this pull request may close these issues.

1 participant