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

Example bugfix #1

Open
LeoniePhiline opened this issue May 15, 2020 · 0 comments
Open

Example bugfix #1

LeoniePhiline opened this issue May 15, 2020 · 0 comments

Comments

@LeoniePhiline
Copy link

Hi!

Thanks for this little helper :)

There is an issue with example 2:

docker container run --rm -it -e var=value -v $(pwd):/wd bhgedigital/envsubst sh -c "envsubst < /wd/file.txt > file-subst.txt" && cat file-subst.txt

The envsubst stdout goes to file-subst.txt in the current container working directory (/ in default alpine).

Fixed in-container command:

envsubst < /wd/file.txt > /wd/file-subst.txt
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

1 participant