Skip to content
Snippets Groups Projects
Unverified Commit d94bcbce authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

Fix pinning Rust deps in docker images (#14129)

parent f1673866
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@
!pyproject.toml
!poetry.lock
!Cargo.lock
!Cargo.toml
!build_rust.py
rust/target
......
Fix an issue with Docker images causing the Rust dependencies to not be pinned correctly.
......@@ -121,7 +121,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
COPY synapse /synapse/synapse/
COPY rust /synapse/rust/
# ... and what we need to `pip install`.
COPY pyproject.toml README.rst build_rust.py /synapse/
COPY pyproject.toml README.rst build_rust.py Cargo.toml Cargo.lock /synapse/
# Repeat of earlier build argument declaration, as this is a new build stage.
ARG TEST_ONLY_IGNORE_POETRY_LOCKFILE
......
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