Fork me on GitHub
#datalevin
<
2022-01-07
>
mokr08:01:16

Hi, thanks for the quick response and all the information. It really helped to fill in some gaps. While it certainly wasn’t the news I was hoping for, some further experimentation and googling seems to have solved the issue. I simply had to install package liblmdb-dev in the final image. Still working on it, but it looks very promising. In regards to dev environment, my impression is that Mac is the preferred platform for a lot of developers. I can’t imaging that most of them use it just to SSH somewhere else, but I certainly understand and respect why you would choose that approach. As for architecture, all images are labeled linux/arm64/v8, so they should work fine. But I will not pretend to know the finer details of exactly when the nice Docker experience “breaks down” due to platform interop. In any case all my Clojure(script) apps have been running in containers for years and I hope to continue that way. Compiling the code inside Docker is just another measure to ensure my environment is consistent and repeatable. BTW: My dev experience on M1 based Mac is just fantastic. Had to skip the Apple Silicon version of Java for now and rely on Rosetta, but almost everything else I need supports the platform natively. Finally, I hope to have Datalevin as my go-to database as it’s a joy to work with, and makes it worth sorting out issues like this. Thanks for all the effort you put into it!

dgr14:01:57

FYI, I just purchased an M1 MacBook Air a couple of weeks ago and have been finding it a great little developer laptop (light and fast). I’m using JDK 17 of Azul’s Zulu, installed via Homebrew. It’s native ARM. Works great with Clojure. I also recently found the 28.0.90 pretest build of Emacs on https://emacsformacosx.com/builds, which is a universal binary including ARM native. Thus far, everything is working well.

mokr18:01:52

I now have two applications running in Docker containers on my Mac (M1Pro) with embedded Datalevin v0.5.27. So far I haven’t had any indication of issues with this setup. Currently I’m using a volume targeting the same local database as I used during development. Will move to prod server next week.

👍 2
Huahai18:01:52

Glad to hear that.