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

Support remote TAR/solo files and git URLs as the build context #224

Open
aidan-mundy opened this issue Oct 27, 2021 · 0 comments · May be fixed by #226
Open

Support remote TAR/solo files and git URLs as the build context #224

aidan-mundy opened this issue Oct 27, 2021 · 0 comments · May be fixed by #226

Comments

@aidan-mundy
Copy link
Contributor

aidan-mundy commented Oct 27, 2021

Dobi should support the use of remote tar files, solo dockerfiles, and git URLs in the build context. This will allow projects to DRY their build process by building dockerfiles from dependencies without needing to manage the dependency itself.

Unfortunately there is no support in fsouza/go-dockerclient to do this for git repos (see fsouza/go-dockerclient#886). Without migrating to docker/docker/client (as per #89), the best way to handle this is (most likely) to use GetContextFromGitURL from docker/cli/cli/command/image/build to download the git repo into a temporary location on the local machine.

Handling dobi's enhanced caching for git repos and tar files is covered by #225

@aidan-mundy aidan-mundy changed the title Support remote TAR files and git URLs in the build context Support remote TAR files and git URLs as the build context Oct 27, 2021
@aidan-mundy aidan-mundy changed the title Support remote TAR files and git URLs as the build context Support remote TAR/solo files and git URLs as the build context Oct 27, 2021
@aidan-mundy aidan-mundy linked a pull request Oct 27, 2021 that will close this issue
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 a pull request may close this issue.

1 participant