mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-27 09:58:41 +00:00
Fix pinning Rust deps in docker images (#14129)
This commit is contained in:
parent
f1673866ed
commit
d94bcbced3
|
@ -9,6 +9,7 @@
|
||||||
!pyproject.toml
|
!pyproject.toml
|
||||||
!poetry.lock
|
!poetry.lock
|
||||||
!Cargo.lock
|
!Cargo.lock
|
||||||
|
!Cargo.toml
|
||||||
!build_rust.py
|
!build_rust.py
|
||||||
|
|
||||||
rust/target
|
rust/target
|
||||||
|
|
1
changelog.d/14129.bugfix
Normal file
1
changelog.d/14129.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
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 synapse /synapse/synapse/
|
||||||
COPY rust /synapse/rust/
|
COPY rust /synapse/rust/
|
||||||
# ... and what we need to `pip install`.
|
# ... 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.
|
# Repeat of earlier build argument declaration, as this is a new build stage.
|
||||||
ARG TEST_ONLY_IGNORE_POETRY_LOCKFILE
|
ARG TEST_ONLY_IGNORE_POETRY_LOCKFILE
|
||||||
|
|
Loading…
Reference in a new issue