ralexstokes / mev-rs

a gateway to a network of block builders
Other
413 stars 76 forks source link

fix: dockerfile -- bump rust version & add build pkgs #214

Closed sarmatdev closed 4 months ago

sarmatdev commented 5 months ago

Bump rust version, required by cargo-chef

Screenshot 2024-03-30 at 17 36 10

Introduced set of build packages for compilation

Screenshot 2024-03-30 at 18 11 59
sarmatdev commented 5 months ago

@ralexstokes need your touch to resolve lint checks

ralexstokes commented 5 months ago

@sarmatdev looks like some new linter errors due to a new nightly version... I'll try to get to these in the next few days

ralexstokes commented 5 months ago

yeah, the docker file is outdated and needs some more dependencies...

I have and expect to maintain the nix infra in this repo -- do you want to try something like this for the Dockerfile?

https://mitchellh.com/writing/nix-with-dockerfiles

you should be able to use the nix flake from the repo root, so just need to update the dockerfile

ralexstokes commented 4 months ago

closing in lieu of #219 thanks for this!

(also I took a look at the nix route above and it was a bit more complicated than I would like...)