-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Unable to fig build a github repo / works with docker build #491
Comments
I've been able to reproduce this. It looks like the
For some reason, the docker client either strips the https or knows how to deal with it. If you change your webapp:
build: github.com/StrictlyBusiness/docker-java8.git It will work. I think fig should probably also know how to strip the scheme (or at least emulate whatever the docker client is doing), and probably also handle these 500 errors better by reporting more details (that it was a 500 internal server error). |
@dnephin - Removing the protocol fixed my simple case I had reported, but I'm running into a related issue trying to pull a private repo. I'm using a machine user with a personal access token with the url |
Also, stripping the protocol with the username:token url dumps the following stacktrace:
|
This is fixed by #1372 (which is still open) |
Using
docker build
I can pull and build an image directly from Github, for example:docker build -t java https://github.com/StrictlyBusiness/docker-java8.git
When I try to do the same using
fig build
and the followingfig.yml
:it shows
Building webapp...
then after ~40 seconds, it shows just a single closing bracket)
. For example:I haven't found a way to get any more details on what's happening behind the scenes in fig to know why it's failing.
The text was updated successfully, but these errors were encountered: