0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-06-18 23:39:07 +00:00

Merge pull request from tursodatabase/lucio/fix-docker-builds

server: fix docker builds
This commit is contained in:
Lucio Franco
2023-11-20 15:20:38 +00:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

@ -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.

@ -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

@ -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