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

Discuss: should az acr run honor dockerignore? #277

Open
ehotinger opened this issue Sep 12, 2018 · 1 comment
Open

Discuss: should az acr run honor dockerignore? #277

ehotinger opened this issue Sep 12, 2018 · 1 comment

Comments

@ehotinger
Copy link

Right now az acr run follows az acr build except it doesn't guarantee a Dockerfile is present, so what can happen is you can have a dockerignore which ignores the Dockerfile* and have az acr build work but az acr run with a simple build: -f Dockerfile . step will fail.

@ehotinger
Copy link
Author

After discussion: add a bool parameter to ignore a dockerignore; print a log statement saying something like "detected a dockerignore, ignoring files specified in the dockerignore..."

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

No branches or pull requests

1 participant