File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM python:3.14
1+ FROM ghcr.io/astral-sh/uv:0.11.5-python3.14-trixie
22RUN useradd --user-group bagit-tester
33RUN install -d -o bagit-tester /bagit
44WORKDIR /bagit
@@ -9,8 +9,9 @@ COPY src/ /bagit/src/
99COPY test.py /bagit/
1010COPY test-data /bagit/test-data/
1111COPY utils/ /bagit/
12- RUN pip install --upgrade pip && pip install uv && uv sync --all-extras
13- RUN mkdir /home/bagit-tester/ && mkdir /home/bagit-tester/.cache && mkdir /home/bagit-tester/.cache/uv
12+ ENV UV_LINK_MODE=copy
13+ RUN mkdir /home/bagit-tester/ && mkdir /home/bagit-tester/.cache && mkdir /home/bagit-tester/.cache/uv && \
14+ apt-get update && apt-get install dos2unix -y && find test-data -name 'README' |xargs dos2unix
1415RUN chown bagit-tester /home/bagit-tester/.cache/uv
1516USER bagit-tester
1617CMD [ "uv" , "run" , "pytest" ]
You can’t perform that action at this time.
0 commit comments