Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update docker build, ci #270

Merged
merged 1 commit into from
Dec 31, 2023
Merged

chore: update docker build, ci #270

merged 1 commit into from
Dec 31, 2023

Conversation

Vid201
Copy link
Member

@Vid201 Vid201 commented Dec 30, 2023

No description provided.

@@ -1,40 +1,55 @@
# build
FROM ubuntu:18.04 AS builder
FROM lukemathwalker/cargo-chef:latest-rust-1 AS chef
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could build "locally" and just copy the target into the image. In this case, docker image is much smaller.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's true. But I would keep the building inside Docker so someone who can't build Silius locally (due to unsupported architecture) can build it in Docker.

Copy link
Collaborator

@zsluedem zsluedem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Vid201 Vid201 merged commit 6b1f00a into main Dec 31, 2023
2 checks passed
@Vid201 Vid201 deleted the chore/docker branch December 31, 2023 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants