Skip to content

Commit

Permalink
fixup Dockerfile build arg
Browse files Browse the repository at this point in the history
  • Loading branch information
tommie committed Dec 28, 2024
1 parent b684206 commit b348c87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN cargo chef cook --release --no-default-features --features=syncstorage-db/$D

FROM chef as builder
ARG DATABASE_BACKEND=spanner
ARG MYSQLCLIENTPKG=libmysqlclient-dev

COPY . /app
COPY --from=cacher /app/target /app/target
Expand Down Expand Up @@ -54,6 +55,8 @@ RUN \
if [ "$DATABASE_BACKEND" = "spanner" ] ; then cargo install --path ./syncstorage-spanner --locked --root /app --bin purge_ttl ; fi

FROM docker.io/library/debian:bullseye-slim
ARG MYSQLCLIENTPKG=libmysqlclient-dev

WORKDIR /app
COPY --from=builder /app/requirements.txt /app
# Due to a build error that occurs with the Python cryptography package, we
Expand Down

0 comments on commit b348c87

Please sign in to comment.