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

Duplicate Dockerfile in the build directory #204

Merged
merged 2 commits into from
Mar 20, 2020
Merged

Duplicate Dockerfile in the build directory #204

merged 2 commits into from
Mar 20, 2020

Conversation

tolusha
Copy link
Contributor

@tolusha tolusha commented Mar 20, 2020

Signed-off-by: Anatoliy Bazko abazko@redhat.com

Reference issue

eclipse-che/che#16206

What does this PR do

For some tasks operator-sdk requires Dockerfile to be located into build directory otherwise it fails with the error:
FATA[0000] must run command in project root dir: project structure requires build/Dockerfile

I don't want to remove it from the root of the project since it is used by some build jobs.
Duplication it is enough for operator-sdk

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
@AndrienkoAleksandr
Copy link
Contributor

Duplication it is enough for operator-sdk

For some operations(debug), for operator sdk is ok even an empty dockerfile...

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
@tolusha
Copy link
Contributor Author

tolusha commented Mar 20, 2020

Agree. It is better make it empty.

@tolusha tolusha merged commit 5cd472a into master Mar 20, 2020
@tolusha tolusha deleted the ab/build branch March 20, 2020 11:41
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.

2 participants