-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
36 lines (27 loc) · 844 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM quay.io/jupyter/scipy-notebook:2024-02-24
# Install Python packages using conda
RUN conda install --yes \
numpy=1.26.4 \
click=8.1.7 \
pyYAML=6.0.1 \
tabulate=0.9.0 \
click=8.1.7 \
pytest=8.1.1
# Quarto Installation
# Use root to install system-level packages
USER root
# Install system dependencies for Quarto
RUN apt-get update && apt-get install -y \
make \
gdebi \
lmodern
# Download and install Quarto
ARG QUARTO_VERSION="1.4.537"
RUN curl -o quarto-linux-amd64.deb -L https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.deb && \
gdebi --non-interactive quarto-linux-amd64.deb
# Install ucimlrepo using pip
RUN pip install \
ucimlrepo==0.0.6 \
py_predpurchase==0.2.0
# Switch back to the jovyan user
USER $NB_UID