Skip to content

Commit

Permalink
add dockerfile for release
Browse files Browse the repository at this point in the history
  • Loading branch information
cetin committed Nov 5, 2024
1 parent 84e4e9f commit e0fb2f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
push: false
load: true
tags: clementine:latest
platforms: linux/arm64
platforms: linux/amd64
- name: Run and extract binary
run: |
docker run -d --name test-container --entrypoint /bin/sh clementine:latest -c "while true; do sleep 30; done"
Expand Down
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM rust:1.78.0-bookworm
WORKDIR /clementine
COPY . .
RUN apt update && apt -y upgrade && apt -y install libclang-dev pkg-config protobuf-compiler curl cmake git

RUN SKIP_GUEST_BUILD=1 cargo build --release --bin server

0 comments on commit e0fb2f6

Please sign in to comment.