Skip to content

Commit

Permalink
Switch back to release profile.
Browse files Browse the repository at this point in the history
  • Loading branch information
tommie committed Dec 29, 2024
1 parent 42a23e2 commit 9a81752
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN \
apt-get -q install -y --no-install-recommends $MYSQLCLIENTPKG cmake

COPY --from=planner /app/recipe.json recipe.json
RUN cargo chef cook --profile dev --no-default-features --features=syncstorage-db/$DATABASE_BACKEND --features=py_verifier --recipe-path recipe.json
RUN cargo chef cook --release --no-default-features --features=syncstorage-db/$DATABASE_BACKEND --features=py_verifier --recipe-path recipe.json

FROM chef as builder
ARG DATABASE_BACKEND=spanner
Expand Down Expand Up @@ -51,7 +51,7 @@ ENV PATH=$PATH:/root/.cargo/bin
RUN \
cargo --version && \
rustc --version && \
cargo install --profile dev --path ./syncserver --no-default-features --features=syncstorage-db/$DATABASE_BACKEND --features=py_verifier --locked --root /app && \
cargo install --path ./syncserver --no-default-features --features=syncstorage-db/$DATABASE_BACKEND --features=py_verifier --locked --root /app && \
if [ "$DATABASE_BACKEND" = "spanner" ] ; then cargo install --path ./syncstorage-spanner --locked --root /app --bin purge_ttl ; fi

FROM docker.io/library/debian:bullseye-slim
Expand Down

0 comments on commit 9a81752

Please sign in to comment.