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

build form local dockerfile? #290

Open
v0nNemizez opened this issue Feb 1, 2023 · 2 comments
Open

build form local dockerfile? #290

v0nNemizez opened this issue Feb 1, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@v0nNemizez
Copy link

i might need glasses, but i cant see anywhere in the documentation that indicate that this is pausible?
I have a git repo where i have my custom config and Dockerfiles that i pull on a regular basis when i change configs and so on.

@fussybeaver
Copy link
Owner

fussybeaver commented Feb 1, 2023

No, this isn't implemented (yet). In theory, this would be possible using a 'client-session' remote context and the v2 buildkit builder, but... there's some further protobuf communication and serialization interfaces to add, so it's non-trivial.

That said, you can point to a remote file -

 let build_image_options = BuildImageOptions {
         remote:
            "https://raw.githubusercontent.com/somewhere/Dockerfile",
// ...

@v0nNemizez
Copy link
Author

v0nNemizez commented Feb 2, 2023

okay :) no eyesight problems then! i was worried xD Thx for the response :) you might consider this a Future Request then :)

@v0nNemizez v0nNemizez reopened this Feb 2, 2023
@fussybeaver fussybeaver added the enhancement New feature or request label Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants