Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DH-301] use this as the default image config, swiped from nature hub #11

Merged
merged 10 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions apt.txt
shaneknapp marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Some linux packages for basic terminal work, particularly
# oriented at users new to Unix/cmd line environments.

# installing less as more just isn't enough
less

# Download tools
curl
wget
vim

# for easily managing multiple repositories with one command (perl-doc
# is needed for its help pages to work)
mr
perl-doc

# Regular build tools for compiling common stuff
build-essential

# Dependencies for nbconvert
texlive-xetex
texlive-fonts-recommended
texlive-plain-generic
texlive-lang-chinese
lmodern

# Other useful document-related tools
pandoc
latexdiff

# Some useful git utilities use basic Ruby
ruby

# Other niceties for command-line work and life
rsync

# playwright deps https://jira-secure.berkeley.edu/browse/DH-325
libnss3
libnspr4
libdbus-1-3
libatk1.0-0
libatk-bridge2.0-0
libcups2
libdrm2
libxkbcommon0
libatspi2.0-0
libxcomposite1
libxdamage1
libxfixes3
libxrandr2
libgbm1
libasound2
32 changes: 32 additions & 0 deletions environment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: default-datahub-user-image
# This is the standard conda configuration file. Use this file to list
# the conda packages that you need installed in your environment.
channels:
- conda-forge

dependencies:

# Items required for basic level functionality
- python==3.11.*
- git==2.46.0
- jupyter-resource-usage=1.1.0
- jupyterhub==4.1.6
- jupyterlab==4.2.5
- jupyter_server==2.14.2
- notebook==7.2.2
- nbgitpuller==1.2.1

# vscode
- code-server==4.23.1
- jupyter-vscode-proxy==0.6

# other packages
- seaborn==0.13.2
- altair==5.4.1
- ibis-framework[pandas,duckdb]==9.3.0
- leafmap==0.36.10
- jupyterlab-myst==2.4.2
shaneknapp marked this conversation as resolved.
Show resolved Hide resolved

- pip==24.2
- pip:
- nbconvert[webpdf]==7.16.4
16 changes: 0 additions & 16 deletions environment.yml

This file was deleted.

6 changes: 6 additions & 0 deletions postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail

# installing chromium browser to enable webpdf conversion using nbconvert
export PLAYWRIGHT_BROWSERS_PATH=${CONDA_DIR}
playwright install chromium
5 changes: 5 additions & 0 deletions start
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

# See https://jira-secure.berkeley.edu/browse/DH-305
export PLAYWRIGHT_BROWSERS_PATH=${CONDA_DIR}
exec "$@"