Skip to content
Snippets Groups Projects
Unverified Commit beb7baf5 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

provenance/Dockerfile: Drop repetitive instructions

parent 679a66e2
No related branches found
No related tags found
No related merge requests found
......@@ -29,15 +29,12 @@ RUN apt-get update && \
apt-get install -y zstd && \
apt-get clean
FROM ${base_image}:${base_image_version}
COPY --chmod=0644 requirements-frozen.txt ${workdir}
RUN --mount=type=cache,target=.cache,uid=1000,gid=1000 \
uv pip sync requirements-frozen.txt
COPY --chmod=0755 entrypoint.sh ${workdir}
COPY --from=rust_build /usr/local/cargo/bin/swh-provenance* /usr/local/bin/
COPY --chmod=0755 entrypoint.sh ${workdir}
USER ${user}
ENV SWH_CONFIG_FILENAME=${configdir}/config.yml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment