-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Compose is failing if dockerfile specified in the context's path #5869
Labels
Milestone
Comments
Ok, I can reproduce that one. Note that in this case though, you can express the version: '3'
services:
test:
build:
context: /Users/johndoe/repos/test/devops-test/
dockerfile: ./dockerfile/Dockerfile
networks:
- devops-test
networks:
devops-test: and it will work. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the issue
Compose is failing if a dockerfile is specified in the context's path.
Context information (for bug reports)
Steps to reproduce the issue
Just run docker-compose build with a declared dockerfile in the context.
Observed result
Expected result
Stacktrace / full error message
Additional information
macOS 10.13.3
This is following up #5823
The text was updated successfully, but these errors were encountered: