Skip to content

Commit ddabdfe

Browse files
authored
Merge pull request #86 from frank1010111/docker
Dockerfile for reproducible test environment
2 parents 7a5f719 + 0ca6175 commit ddabdfe

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Dockerfile

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
FROM ghcr.io/astral-sh/uv:0.11.15 AS uv
2+
FROM openporousmedia/opmreleases:2026.04_amd64
3+
4+
USER root
5+
6+
ENV DEBIAN_FRONTEND=noninteractive
7+
8+
RUN apt-get update \
9+
&& apt-get install -y --no-install-recommends software-properties-common libhdf5-dev freeglut3-dev git python3 libpython3-dev libxkbcommon0 libxkbcommon-x11-0\
10+
&& rm -rf /var/lib/apt/lists/*
11+
12+
COPY --from=uv /uv /usr/local/bin/uv
13+
14+
ENV UV_PYTHON_INSTALL_DIR=/opt/uv/python
15+
ENV UV_CACHE_DIR=/opt/uv/cache
16+
17+
18+
RUN uv python install 3.14 && \
19+
uv venv /opt/venv --python 3.14 && \
20+
uv pip install --python /opt/venv/bin/python git+https://github.com/cssr-tools/pycopm.git
21+
22+
ENV PATH="/opt/venv/bin:${PATH}"
23+
24+
RUN chown -R opm:opm /opt/uv /opt/venv
25+
26+
USER opm
27+
WORKDIR /shared_host
28+

0 commit comments

Comments
 (0)