-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (21 loc) · 806 Bytes
/
Dockerfile
File metadata and controls
25 lines (21 loc) · 806 Bytes
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
# Development image with more bells and whistles
FROM ghcr.io/cosmostat/shapepipe:develop
RUN apt-get update -y --quiet --fix-missing && \
apt-get dist-upgrade -y --quiet --fix-missing && \
apt-get install -y --quiet \
autoconf \
automake \
libtool \
pkg-config \
htop \
npm \
tmux
# The base image runs out of a uv venv (VIRTUAL_ENV=/app/.venv, where shapepipe
# lives); bare `pip` falls through to /usr/local and installs into the wrong
# interpreter. Use `uv pip` so packages land in the venv that `python` resolves to.
RUN uv pip install --no-cache-dir \
snakemake
WORKDIR /sp_validation
COPY . /sp_validation
# Install with the test extra so the image can run the unit suite in CI.
RUN uv pip install --no-cache-dir -e '.[test]'