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

Be able to input Directory in files #115

Closed
aclairekeum opened this issue Feb 16, 2017 · 6 comments
Closed

Be able to input Directory in files #115

aclairekeum opened this issue Feb 16, 2017 · 6 comments

Comments

@aclairekeum
Copy link

No description provided.

@aclairekeum
Copy link
Author

was hoping if there's a way to keep the directory format without unpacking it into a list of files in build/docker

@uschi2000
Copy link
Contributor

uschi2000 commented Feb 16, 2017 via email

@aclairekeum
Copy link
Author

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.

@uschi2000
Copy link
Contributor

uschi2000 commented Feb 17, 2017 via email

@aclairekeum
Copy link
Author

Yes sure. I'll create a PR soon.

@uschi2000
Copy link
Contributor

Closed by #123

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

2 participants