Skip to content

Commit a1ef367

Browse files
committed
Remove pinned python version
1 parent dd70a0e commit a1ef367

2 files changed

Lines changed: 3 additions & 13 deletions

File tree

Dockerfile

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ WORKDIR ${HOME}
1010

1111
# Clone the tutorial repository
1212
RUN git clone \
13-
--branch add-dockerfile \
13+
--branch main \
1414
--depth 1 \
1515
${REPO}
1616

@@ -31,25 +31,16 @@ RUN apt-get update && \
3131
apt-get clean && \
3232
rm -rf /var/lib/apt/lists/*
3333

34-
# Copy the script to setup the environment
35-
# RUN cp -a docker/setup_custom_env.py /opt/setup-scripts/ && \
36-
# chmod +x /opt/setup-scripts/setup_custom_env.py
37-
38-
# Copy the script to activate the Conda environment
39-
# RUN cp -a docker/activate-custom-env.sh /usr/local/bin/before-notebook.d/
40-
4134
# Switch back to the default notebook user
4235
USER ${NB_UID}
4336

4437
# Create the Conda environment defined in environment.yml
45-
RUN mamba env update -f docker/environment.yml && \
38+
# COPY --chown=${NB_USER}:${NB_GID} docker/environment.yml docker/environment.yml
39+
RUN mamba env update -n base -f docker/environment.yml && \
4640
mamba clean --all -f -y && \
4741
fix-permissions "${CONDA_DIR}" && \
4842
fix-permissions "/home/${NB_USER}"
4943

50-
# Register the Jupyter kernel from the custom environment
51-
# RUN /opt/setup-scripts/setup_custom_env.py ${BASENAME}
52-
5344
# Copy the IPython configuration file (binder/postBuild script)
5445
RUN mkdir -p ${HOME}/.ipython/profile_default && \
5546
cp -a binder/ipython_config.py ${HOME}/.ipython/profile_default/

docker/environment.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: base
33
channels:
44
- conda-forge
55
dependencies:
6-
- python=3.10
76
- pip
87
- pip:
98
- numpy

0 commit comments

Comments
 (0)