Wykres commitów

4 Commity (main)

Autor SHA1 Wiadomość Data
Gerhard Bräunlich e04a14a7cc Add entrypoint script which automatically propagates *_PROXY env vars to docker config 2021-01-13 13:57:52 +01:00
Min RK a69145fcdd missing quotes in GIT_CREDENTIAL_ENV
echo without quotes removes newline, echo with quotes preserves it.

Previously failing test added
2019-01-31 10:48:18 +01:00
Luke Zulauf 9de51dbbbd Issue #388 - Use bash echo for git-credential-env
sh is not consistent in its support of the echo builtin's -e flag. On
debian sh is symlinked to dash, which does not support the flag
resulting in bad credential output. Unfortunately /bin/echo is also
nonstandard - e.g. on macs -e is not supported while it is on debian. I
think the best approach is to rely on bash's echo builtin which should
be consistent across systems (at the slight cost of requiring bash as a
dependency)
2018-09-06 11:19:57 -07:00
Min RK 504aeb7300 add git-credential-env
and configure git to use it by default

`git-credential-env` only echoes the $GIT_CREDENTIAL_ENV environment variable
when git asks for https credentials.

with this, setting GIT_CREDENTIAL_ENV="username=name\npassword=xxx" sets the credentials
that will be used.

e.g.

    docker run -e GIT_CREDENTIAL_ENV="username=name\npassword=xxx" jupyter/repo2docker https://github.com/private/repo
2017-11-17 16:05:46 +01:00