Open
Conversation
4fc0cab to
0ba57eb
Compare
egekorkan
requested changes
Feb 23, 2026
Member
egekorkan
left a comment
There was a problem hiding this comment.
- Documentation is missing on the usage other than the help
- Running without the output tar argument causes a cool bug:
panic: runtime error: index out of range [1] with length 1
goroutine 1 [running]:
github.com/wot-oss/tmc/cmd.createDockerImg(0x1048cbae0, {0x1400034a5d0, 0x1, 0x3})
/Users/egekorkan/git/tmc/cmd/create_docker_img.go:36 +0x1e4
github.com/spf13/cobra.(*Command).execute(0x1048cbae0, {0x1400034a570, 0x3, 0x3})
/Users/egekorkan/go/pkg/mod/github.com/spf13/cobra@v1.10.2/command.go:1019 +0x7bc
github.com/spf13/cobra.(*Command).ExecuteC(0x1048cd4c0)
/Users/egekorkan/go/pkg/mod/github.com/spf13/cobra@v1.10.2/command.go:1148 +0x350
github.com/spf13/cobra.(*Command).Execute(...)
/Users/egekorkan/go/pkg/mod/github.com/spf13/cobra@v1.10.2/command.go:1071
github.com/wot-oss/tmc/cmd.Execute()
/Users/egekorkan/git/tmc/cmd/root.go:35 +0x24
main.main()
/Users/egekorkan/git/tmc/main.go:10 +0x1c- in the above one, -r argument is ignored. All repos are packed
- I get
creating docker image failed: failed to build Docker image: exit status 125error - These warnings/logs should be taken into account. Might be related to my docker version? It is
Docker version 28.5.2, build ecc694264d:
Building Docker image
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
unknown flag: --progress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
packs current tmc into a docker image, also creates a tarball of the image. local file repos are just being copied into the image. for http repos, it first clones the repo and, then, saves it as a local file repository into the image, as well. for s3, currently nothing happens, as i'm not sure how to deal with them.