mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-06-18 23:39:07 +00:00
Merge pull request #655 from tursodatabase/lucio/fix-docker-builds
server: fix docker builds
This commit is contained in:
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user