Skip to content

Commit f4c1e04

Browse files
committedAug 31, 2023
start a new sos-notebook base image (mamba)
1 parent 6adf94d commit f4c1e04

File tree

4 files changed

+27
-30
lines changed

4 files changed

+27
-30
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: sos
1+
name: pisces-rabbit
22
channels:
33
- conda-forge
44
- bioconda
@@ -8,14 +8,16 @@ dependencies:
88
- feather-format
99
- imageio
1010
- jupyter_contrib_nbextensions
11-
- jupyterlab =3.6.4
12-
- jupyter_server
11+
- jupyterlab 3.6.*
12+
- jupyter_server =1.23.6
13+
- jupyter_client =8.0.3
14+
- jupyter-lsp
1315
- jupyterlab-sos
1416
- markdown
1517
- markdown-kernel
1618
- nbdime
1719
- nbformat
18-
- notebook =6.5.5
20+
- notebook =6.5.4
1921
- pillow
2022
- python 3.10.*
2123
- r-base >4
@@ -25,7 +27,6 @@ dependencies:
2527
- sos
2628
- sos-bash
2729
- sos-notebook
28-
- sos-r
2930
- sos-pbs
3031
- sos-python
3132
- wand
File renamed without changes.

‎docker/sos-notebook-v4.dockerfile

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM jupyter/base-notebook:hub-4.0.2
2+
3+
MAINTAINER Gao Wang <wang.gao@columbia.edu>
4+
5+
ARG CONDAENV=pisces-rabbit
6+
7+
COPY ${CONDAENV}.yml /tmp
8+
RUN mamba env create -y -f /tmp/${CONDAENV}.yml && \
9+
mamba activate ${CONDAENV} && \
10+
mamba install -y r-dplyr r-stringr r-readr r-magrittr r-data.table r-ggplot2 r-cowplot r-remotes && \
11+
mamba clean --all -f -y
12+
13+
# https://stat.ethz.ch/R-manual/R-devel/library/base/html/Startup.html
14+
# If you want ‘~/.Renviron’ or ‘~/.Rprofile’ to be ignored by child R processes (such as those run by R CMD check and R CMD build), set the appropriate environment variable R_ENVIRON_USER or R_PROFILE_USER to (if possible, which it is not on Windows) "" or to the name of a non-existent file.
15+
ENV R_ENVIRON_USER ""
16+
ENV R_PROFILE_USER ""
17+
ENV R_LIBS_USER " "
18+
19+
## To build for multiple platforms,
20+
# docker buildx create --use && docker buildx build --push --tag gaow/sos-notebook:4.0.2 --platform=linux/arm64,linux/amd64 -f sos-notebook-v4.dockerfile .
21+
# docker push gaow/sos-notebook:4.0.2

‎docker/sos.yml

-25
This file was deleted.

0 commit comments

Comments
 (0)