We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following Dockerfile should work (https://docs.docker.com/reference/dockerfile/#example-creating-inline-files):
FROM alpine COPY <<EOF /etc/myconf setting1=value EOF
Fails with the following error:
Could not build image: COPY failed: no source files were specified
The Dockerfile works fine with commandline docker build.
docker build
The text was updated successfully, but these errors were encountered:
I'd have to see the task that you are running. Can you provide your build logic?
Sorry, something went wrong.
This is my Gradle task:
tasks.register("buildDockerImage", DockerBuildImage) { inputDir = project.projectDir images.add("me/myImage") }
No branches or pull requests
Expected Behavior
The following Dockerfile should work (https://docs.docker.com/reference/dockerfile/#example-creating-inline-files):
Current Behavior
Fails with the following error:
The Dockerfile works fine with commandline
docker build
.The text was updated successfully, but these errors were encountered: