Comments (9)
True, this is a bug. The plugin copies the external dockerfile so that it could be extended by instructions from the build script. However while copying it, the dockerfile's context should also be copied to the staging are in the build directory. Looking into it later today.
from gradle-docker.
This one just bit me too. I guess I guess I cant use external dockerfiles until this is fixed.
from gradle-docker.
+1
from gradle-docker.
+1
from gradle-docker.
+1
from gradle-docker.
π
from gradle-docker.
+1 Is there any workaround, apart from copying the whole context to the temporary location of Dockerfile?
from gradle-docker.
+1
from gradle-docker.
Workaround for this issue :
#90 (comment)
from gradle-docker.
Related Issues (20)
- DockerTasks should use registry from DockerPluginExtension HOT 1
- Use the installation directory as the default working directory HOT 1
- Cannot find switchUser in DockerTask HOT 1
- Require docker login when push=true HOT 4
- Release a new version HOT 1
- Exposing UDP port HOT 3
- Provide option to Dockerfile name equivalent
- Unable to use docker registry HOT 2
- is this plugin not in the official gradle plugin repo? HOT 2
- passing project version info from gradle to external Dockerfile HOT 1
- Can you also add base images for openjdk 10 and openjdk 11 HOT 3
- springboot2ζε εtarε 倧ε°ζ―εε§ε 倧ε°η2ε HOT 1
- Building Docker Image with Gradle fails with βCOPY failed: no source files were specifiedβ HOT 2
- Roadmap HOT 7
- How to pass docker build arguments to Dockerfile through gradle command line HOT 3
- How to update build jars to a gradle task & external Dockerfile dynamically HOT 1
- Slight error in the readme
- EntryPoint HOT 1
- Gradle 7 - Missing Annotation DockerTask HOT 4
- Email : EOF buildDocker failed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-docker.