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

cannot run doltlab on mac / arm #67

Open
chicco785 opened this issue Jul 25, 2023 · 7 comments
Open

cannot run doltlab on mac / arm #67

chicco785 opened this issue Jul 25, 2023 · 7 comments

Comments

@chicco785
Copy link

chicco785 commented Jul 25, 2023

I am trying to test doltlab on my dev environment (a Mac Book Pro M2), but it looks like binaries work only on amd64 architecture:

 % ./start-doltlab.sh 
Setting DEFAULT_USER=admin
Setting DEFAULT_USER_PASSWORD=DoltLab1234
Setting [email protected]
Setting EMAIL_CLIENT_HOSTNAME=localhost
6ca7aa7af9066d6bf452fff78aeb77e7f67ecbe921735d7c1561d5d7947cb09e
./start-doltlab.sh: line 57: ./gentokenenckey: cannot execute binary file
@chicco785
Copy link
Author

To complement, the test was executed on ubuntu vm inside the mac.

@chicco785
Copy link
Author

I have been able to install it using https://lima-vm.io/

@chicco785
Copy link
Author

the scripts works... but the database image start fails, i will try to run more tests

@chicco785
Copy link
Author

chicco785 commented Jul 25, 2023

it turns out that once generated key files and envoy template, I am able to run dolt lab natively on mac without issues (i.e. outside of a vm... on lima using qemu for simulating x86, db image still fails)

@coffeegoddd
Copy link
Contributor

@chicco785 very cool that you were able to run DoltLab on an M2 without a VM! Currently we only officially support/build for Linux x86, but if we see more requests for additional architectures/environments, this could change.

@chicco785
Copy link
Author

@chicco785 very cool that you were able to run DoltLab on an M2 without a VM! Currently we only officially support/build for Linux x86, but if we see more requests for additional architectures/environments, this could change.

still what puzzle me, is that it fails on VM with QEMU, but that's surely not related to you.

considering that the best machines now on AWS are AWS Graviton3 based on ARM, I think it won't be a bad idea. Also, in most of the cases (at least for docker and go-lang) multi platform builds are really easy peasy.

@orefalo
Copy link

orefalo commented Oct 31, 2023

Since the application is built in go, it should be no issues releasing an arm binary.
it would make first approach so much smoother.

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

No branches or pull requests

3 participants