这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@jonassvatos
Copy link

When building dokku inside docker itself, the 'stack' step fails because of unaccessible /var/run/docker.sock, which cannot be bound via Dockerfile.
Thus, the only option is to skip that step and instead pull 'progium/buildstep' directly from docker Hub.
Something like 'ENV SKIP_BUILD_STACK=YES' in Dockerfile is assumed.

@jonassvatos
Copy link
Author

Here is my Dockerfile for reference
https://github.com/lsde/dokku-in-docker

@michaelshobbs
Copy link
Member

I get where you're coming from here. I'm on the fence though. @josegonzalez do you have any strong opinions here?

@josegonzalez
Copy link
Member

I'd prefer if we can detect whether the socket is accessible rather than have an env var...

@michaelshobbs
Copy link
Member

@lsde @josegonzalez please have a look at #936

@jonassvatos
Copy link
Author

well i agree this is a better solution.
works for my workflow, closing the issue..

@jonassvatos jonassvatos closed this Feb 3, 2015
josegonzalez added a commit that referenced this pull request Feb 3, 2015
…tack

only execute build stack if we have access to /var/run/docker.sock. closes #929
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.

3 participants