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

Rendering directories recursively #105

Open
kozlice opened this issue Jan 9, 2018 · 1 comment
Open

Rendering directories recursively #105

kozlice opened this issue Jan 9, 2018 · 1 comment

Comments

@kozlice
Copy link

kozlice commented Jan 9, 2018

Config dirs with nested dirs are quite common, but I didn't find any flags/options in README which would help to render them in a single command.

Let's say I have the following templates:

templates/
    nginx/
        nginx.conf
        fastcgi.conf # Optional, might not be present
        conf.d/
            host-A.conf
            host-B.conf

I want to render everything inside templates/nginx into etc/nginx, preserving the directory structure.

For now I use a bash script which walks over files one by one, but it would be great to have a native option in dockerize, something like dockerize -template src:dst -recursive.

@jwilder
Copy link
Owner

jwilder commented Mar 17, 2018

No way to do this currently. #31 or #70 might handle this though.

Repository owner deleted a comment from powerman Dec 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants