Skip to content

Commit

Permalink
server: fix docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
LucioFranco committed Nov 20, 2023
1 parent d2a13bd commit ada40f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit ada40f2

Please sign in to comment.