File tree 2 files changed +34
-0
lines changed
2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1
1
# ${DOCKER_GROUP} and ${DOCKER_TAG} default values defined in the .env file
2
2
version : ' 3'
3
3
services :
4
+ vtls_dev :
5
+ image : ${DOCKER_GROUP}/vtls_dev:${DOCKER_TAG}
6
+ hostname : local
7
+ build :
8
+ context : ./
9
+ dockerfile : $PWD/vtls_dev/Dockerfile
4
10
sounder_sips_dev :
5
11
image : ${DOCKER_GROUP}/sounder_sips_dev:${DOCKER_TAG}
6
12
hostname : local
Original file line number Diff line number Diff line change
1
+ FROM jupyter/datascience-notebook
2
+
3
+ # Switch to root user for build
4
+ USER root
5
+
6
+ # Requires the build context to be one level up where common is located
7
+ COPY common/unity-sds /etc/unity-sds
8
+
9
+ # Install Dockstore
10
+ RUN apt-get update -q && \
11
+ apt install -y openjdk-11-jdk && \
12
+ curl -L -o /usr/local/bin/dockstore https://github.com/dockstore/dockstore-cli/releases/download/1.13.1/dockstore && \
13
+ chmod +x /usr/local/bin/dockstore
14
+
15
+ # Install AWS CLI
16
+ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
17
+ unzip awscliv2.zip && \
18
+ ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/aws-cli && \
19
+ rm -rf awscliv2.zip aws
20
+
21
+ RUN mamba install -y python>3.11 nb_conda_kernels ipykernel \
22
+ s3fs boto3 netcdf4 xarray basemap cartopy h5netcdf 'basemap>=1.4.0' pysqlite3 \
23
+ ipython numpy pandas matplotlib scipy && \
24
+ conda clean -y --all
25
+ RUN pip install unity_sds_client==0.7.0 podaac-data-subscriber PyWavelets
26
+
27
+ # Switch back to jovyan to avoid accidental container runs as root
28
+ USER ${NB_UID}
You can’t perform that action at this time.
0 commit comments