Skip to content

Commit ce31cc2

Browse files
authored
Simplify docker build action for binder and update jlab (#252)
1 parent 6cfae06 commit ce31cc2

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed

.github/workflows/ci-repo2docker.yaml

+5-18
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,12 @@
11
name: repo2docker CI
2-
32
on: [push, pull_request]
43

54
jobs:
65
build:
76
runs-on: ubuntu-latest
87
steps:
9-
- name: Checkout
10-
uses: actions/checkout@v2
11-
12-
- name: Set up Python 3.7
13-
uses: actions/setup-python@v1
14-
with:
15-
python-version: 3.7
16-
17-
- name: Install repo2docker
18-
run: |
19-
python -m pip install --upgrade pip
20-
# Explicitly adding `six` as a workaround for https://github.com/docker/docker-py/pull/2844
21-
# Explicitly adding `chardet` as a workaround for https://github.com/jupyterhub/repo2docker/issues/1065
22-
python -m pip install jupyter-repo2docker six chardet
23-
24-
- name: Build dask-tutorial Docker image
25-
run: jupyter-repo2docker --no-run --debug .
8+
- name: Build and cache on mybinder.org
9+
uses: jupyterhub/repo2docker-action@master
10+
with:
11+
NO_PUSH: true
12+
MYBINDERORG_TAG: ${{ github.event.ref }}

binder/environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
dependencies:
55
- python=3.9
6-
- jupyterlab=2
6+
- jupyterlab=3
77
- numpy=1.23
88
- scipy=1.8
99
- bokeh=2.4

0 commit comments

Comments
 (0)