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

GH_TOKEN in Docker #1867

Closed
cawa-93 opened this issue Jul 27, 2017 · 1 comment
Closed

GH_TOKEN in Docker #1867

cawa-93 opened this issue Jul 27, 2017 · 1 comment
Labels

Comments

@cawa-93
Copy link
Contributor

cawa-93 commented Jul 27, 2017

In my .bashrc I add

export GH_TOKEN=...

But inside the docker container this variable is not present. I have to export it manually every time. Is there a way to automatically import a variable from the environment into a container?

@develar
Copy link
Member

develar commented Jul 27, 2017

Pass --env-file docker-env.list to docker command, where docker-env.list file like https://github.com/electron-userland/electron-builder/blob/master/test/docker-env.list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants