Comments (6)
was hoping if there's a way to keep the directory format without unpacking it into a list of files in build/docker
from gradle-docker.
from gradle-docker.
Here's an example.
When we have something like
docker {
...
files 'dirName'
}
Files in dirName directory gets unpacked into a list of files under build/docker. However, there are some use cases I could think of, where we keep multiple scripts together, or jar files together in a directory, in which would allow us to simply copy that directory into the docker image. There's a workaround to this, which is by creating another layer of directory under a directory-
Thought that 'files' maintaining its format (if is a directory, whole directory be included in docker context and if a file, just a file be included in) would be useful.
from gradle-docker.
from gradle-docker.
Yes sure. I'll create a PR soon.
from gradle-docker.
Closed by #123
from gradle-docker.
Related Issues (20)
- Task dockerPush build too 0.26.0 -> 0.30.0 HOT 1
- Release 0.31 Task dockerPush did not depend on any other task anymore and not able to push to Registry with simple config HOT 3
- containerd support
- Is gradle incremental build supported? HOT 2
- dockerpush - getting sha256 of the published docker image ?
- Recommend don't create the dockerTag${project.version} and dockerPush${project.version} task by default, keep to add it by user self as 0.30.0 version. HOT 8
- Entry Dockerfile is a duplicate but no duplicate handling strategy has been set HOT 3
- dockerPush seems to hang forever HOT 1
- Support Task Configuration Avoidance API from Gradle
- How to set buildArgs from the task
- Can't get multiarch buildx to work HOT 1
- Make automatic project version tag optional HOT 1
- Buildx fails to finding just builded image but works with cached ones HOT 1
- adding extra programs to palantir docker image HOT 1
- Gradle 8.0 Support HOT 4
- Using platform without buildx
- Containerd Support
- composeup environment required HOT 3
- docker tag must have a task name HOT 3
- remove dash "docker-compose"
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.