jupyterlab / jupyterlab/jupyterlab-github

Cannot set default github repo during docker build

Open
#83 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
437
Forks
101
PR merge metrics
No merged PRs in 30d

Description

Hi all,
I'm trying to pre-load the default github repo that is shown when a docker is loaded up using the something like the following in my dockerfile (and needless to say, not working):

```
#Set up github access (this is temporary; real version will request key at container runtime)
RUN echo "c.GitHubConfig.access_token = 'ToBeReplacedWithLineInRunTimeShellScript'" >> ~/.jupyter/jupyter_notebook_config.py

RUN mkdir -p ~/.jupyter/lab/user-settings/@jupyterlab/github && \
echo "{\n "defaultRepo": "alexlicohen/script-toolbox"\n}" >> ~/.jupyter/lab/user-settings/@jupyterlab/github/drive.jupyterlab-settings
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.