Skip to content

Commit

Permalink
Fix memtest
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-garcia committed Sep 24, 2024
1 parent f34ce02 commit cc27320
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/memory-testing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ RUN mkdir -p /app/crates/bitwarden-crypto/src \
&& touch /app/crates/bitwarden-crypto/src/lib.rs \
/app/crates/bitwarden-crypto/benches/default_allocator.rs \
/app/crates/bitwarden-crypto/benches/zeroizing_allocator.rs \
/app/crates/bitwarden-crypto/benches/new_encryptable.rs \
&& echo 'fn main(){}' > /app/crates/memory-testing/src/main.rs \
&& cargo build -p memory-testing --release

# Delete dummy files and copy the actual source code
RUN rm /app/crates/bitwarden-crypto/src/lib.rs \
/app/crates/bitwarden-crypto/benches/default_allocator.rs \
/app/crates/bitwarden-crypto/benches/zeroizing_allocator.rs \
/app/crates/bitwarden-crypto/benches/*.rs \
/app/crates/memory-testing/src/main.rs

COPY crates/bitwarden-crypto /app/crates/bitwarden-crypto
Expand Down

0 comments on commit cc27320

Please sign in to comment.