Skip to content

Commit 19d5e6c

Browse files
committed
removed jupyterlab-github and isort to fix the repository is ready only error
1 parent 9f2713e commit 19d5e6c

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

Dockerfile

+16-12
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ RUN apt-get update && \
2525
zsh \
2626
vim \
2727
htop \
28+
# build-essential \
29+
# libcurl4-openssl-dev \
30+
# libssl-dev \
31+
# libxml2-dev \
2832
gfortran && \
2933
ldconfig && \
3034
apt-get autoclean && \
@@ -49,10 +53,10 @@ RUN mamba create --yes -n sage sage python=3.11 && \
4953
"jupyter_bokeh"
5054

5155
RUN R -e 'require(devtools); \
52-
install_version("ggiraphExtra", repos = "http://cran.us.r-project.org", quiet = TRUE); \
53-
install_version("lisp", version = "0.1", repos = "http://cran.us.r-project.org", quiet = TRUE); \
54-
install_version("translate", version = "0.1.2", repos = "http://cran.us.r-project.org", quiet = TRUE)'
55-
56+
devtools::install_github("cardiomoon/ggiraphExtra"); \
57+
install.packages("https://cran.r-project.org/src/contrib/Archive/lisp/lisp_0.1.tar.gz", repos = NULL, type = "source", quiet = TRUE); \
58+
install.packages("https://cran.r-project.org/src/contrib/Archive/translate/translate_0.1.2.tar.gz", repos = NULL, type = "source", quiet = TRUE)'
59+
5660
# Install R packages
5761
RUN mamba install --yes -c conda-forge \
5862
'r-stargazer' \
@@ -69,9 +73,10 @@ RUN mamba install --yes -c conda-forge \
6973
'r-modelsummary' \
7074
'r-nsyllable' \
7175
'r-proxyc' \
72-
'r-tidytext' && \
76+
'r-tidytext' \
77+
'r-car' && \
7378
mamba clean --all -f -y
74-
RUN mamba install --yes -c conda-forge r-car
79+
#RUN mamba install --yes -c conda-forge r-car
7580

7681

7782
RUN pip install --upgrade setuptools
@@ -82,8 +87,8 @@ RUN pip install nbgitpuller \
8287
black \
8388
pandas_ta \
8489
ccxt \
85-
isort \
86-
jupyterlab-github \
90+
# isort \
91+
# jupyterlab-github \
8792
jupyterlab-spreadsheet-editor \
8893
jupyterlab_templates \
8994
otter-grader \
@@ -92,14 +97,13 @@ RUN pip install nbgitpuller \
9297
"vegafusion-jupyter[embed]"
9398
RUN pip install jupytext --upgrade
9499

95-
96100
RUN npm cache clean --force && \
97101
fix-permissions $CONDA_DIR && \
98102
fix-permissions /home/jovyan
99103
RUN export NODE_OPTIONS=--max-old-space-size=4096
100-
RUN jupyter server extension enable --py jupyterlab_templates && \
101-
jupyter server extension enable nbgitpuller --sys-prefix && \
102-
jupyter lab build --dev-build=False --minimize=False
104+
#RUN jupyter server extension enable --py jupyterlab_templates && \
105+
# jupyter server extension enable nbgitpuller --sys-prefix && \
106+
# jupyter lab build --dev-build=False --minimize=False
103107

104108
USER root
105109

0 commit comments

Comments
 (0)