From ada40f287ef8d3a2c3acca52d72b449b8d1c8681 Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Mon, 20 Nov 2023 10:09:47 -0500 Subject: [PATCH] server: fix docker builds --- .github/workflows/rust.yml | 2 +- Dockerfile | 2 +- Dockerfile.dev | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a6d5fe2969..4a1509a80b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -55,7 +55,7 @@ jobs: - name: Test openssl shell: bash {0} - run: cargo tree -p sqld -i openssl; [ $? = 101 ] + run: cargo tree -p libsql-server -i openssl; [ $? = 101 ] # Disabled because we vendor rusqlite which does not use # clippy so it warns. diff --git a/Dockerfile b/Dockerfile index f0813c0bc9..bdeec4b522 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ FROM chef AS builder COPY --from=planner /recipe.json recipe.json RUN cargo chef cook --release --recipe-path recipe.json COPY . . -RUN cargo build -p sqld --release +RUN cargo build -p libsql-server --release # runtime FROM debian:bullseye-slim diff --git a/Dockerfile.dev b/Dockerfile.dev index 02c4e0d7dc..3d35414395 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -14,7 +14,7 @@ COPY . . RUN --mount=type=cache,target=/usr/local/cargo/registry \ --mount=type=cache,target=/usr/local/cargo/git \ --mount=type=cache,target=/sqld/target \ - cargo build -p sqld --release && \ + cargo build -p libsql-server --release && \ cp target/release/sqld /sqld/bin