File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM ghcr.io/astral-sh/uv:0.11.5-python3.14-trixie
2- RUN useradd --user-group bagit-tester
3- RUN install -d -o bagit-tester /bagit
2+ RUN useradd --user-group bagit-tester && \
3+ install -d -o bagit-tester /bagit
44WORKDIR /bagit
55COPY pyproject.toml /bagit/pyproject.toml
66COPY .git/ /bagit/.git/
@@ -10,8 +10,12 @@ COPY test.py /bagit/
1010COPY test-data /bagit/test-data/
1111COPY utils/ /bagit/
1212ENV 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
15- RUN chown bagit-tester /home/bagit-tester/.cache/uv
13+ RUN mkdir /home/bagit-tester/ && \
14+ mkdir /home/bagit-tester/.cache && \
15+ mkdir /home/bagit-tester/.cache/uv && \
16+ apt-get update && \
17+ apt-get install dos2unix -y && \
18+ find test-data -name 'README' | xargs dos2unix && \
19+ chown bagit-tester /home/bagit-tester/.cache/uv
1620USER bagit-tester
1721CMD [ "uv" , "run" , "pytest" ]
You can’t perform that action at this time.
0 commit comments