mirror of
https://github.com/apache/superset.git
synced 2026-04-07 10:31:50 +00:00
21 lines
671 B
Docker
21 lines
671 B
Docker
# Keep this in sync with the base image in the main Dockerfile (ARG PY_VER)
|
|
FROM python:3.11.13-trixie AS base
|
|
|
|
# Install system dependencies that Superset needs
|
|
# This layer will be cached across Codespace sessions
|
|
RUN apt-get update && apt-get install -y \
|
|
libsasl2-dev \
|
|
libldap2-dev \
|
|
libpq-dev \
|
|
tmux \
|
|
gh \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install uv for fast Python package management
|
|
# This will also be cached in the image
|
|
RUN curl -LsSf https://astral.sh/uv/install.sh | sh && \
|
|
echo 'export PATH="/root/.cargo/bin:$PATH"' >> /etc/bash.bashrc
|
|
|
|
# Set the cargo/bin directory in PATH for all users
|
|
ENV PATH="/root/.cargo/bin:${PATH}"
|