Skip to content

Commit 335f9a9

Browse files
author
Alexander Morosow
committed
adapt requirements
1 parent 5ad5dbd commit 335f9a9

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ ENV LANG C.UTF-8
1313

1414
RUN apt-get update && apt-get install -y \
1515
${PYTHON} \
16-
${PYTHON}-pip
16+
${PYTHON}-pip \
17+
git \
18+
cmake \
19+
libgdal-dev \
20+
libsndfile-dev
1721

1822
RUN ${PIP} --no-cache-dir install --upgrade \
1923
pip \
@@ -27,16 +31,11 @@ WORKDIR /opt/colab
2731

2832
COPY requirements.txt .
2933

30-
RUN apt-get install -y cmake libgdal-dev libsndfile-dev
31-
3234
RUN CPLUS_INCLUDE_PATH=/usr/include/gdal \
3335
C_INCLUDE_PATH=/usr/include/gdal \
3436
pip install -r requirements.txt \
3537
&& pip install jupyter_http_over_ws \
3638
&& jupyter serverextension enable --py jupyter_http_over_ws
37-
RUN pip install --upgrade holoviews plotly datashader panel
38-
RUN apt-get install -y git
39-
RUN pip install cirq==0.8.2 qsimcirq==0.4.1
4039

4140
EXPOSE 8888
4241

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A Docker container to act as a local runtime for [Google Colab](https://colab.re
55

66
## Run
77
```bash
8-
$ docker run --runtime=nvidia -it --rm -p 8888:8888 refikanadolstudio/docker-colab-local:latest
8+
$ docker run --runtime=nvidia -it --rm -p 8888:8888 refikanadolstudio/colab-local:latest
99
```
1010
Or, to mount a volume so that it's accessible to colab:
1111
```bash

requirements.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ branca==0.4.1
2424
bs4==0.0.1
2525
CacheControl==0.12.6
2626
cachetools==4.1.1
27+
cachier==1.4.3
2728
catalogue==1.0.0
2829
certifi==2020.6.20
2930
cffi==1.14.3
@@ -192,7 +193,7 @@ pickleshare==0.7.5
192193
Pillow==7.0.0
193194
pip-tools==4.5.1
194195
plac==1.1.3
195-
plotly==4.4.1
196+
plotly==4.11.0
196197
plotnine==0.6.0
197198
pluggy==0.7.1
198199
portpicker==1.3.1
@@ -332,3 +333,7 @@ xlwt==1.3.0
332333
yellowbrick==0.9.1
333334
zict==2.0.0
334335
zipp==3.2.0
336+
cirq==0.8.2
337+
qsimcirq==0.4.1
338+
datashader==0.11.1
339+
fsspec==0.8.3

0 commit comments

Comments
 (0)