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

Provide a Dockerfile for builds #180

Open
ravshansbox opened this issue Apr 16, 2024 · 13 comments
Open

Provide a Dockerfile for builds #180

ravshansbox opened this issue Apr 16, 2024 · 13 comments

Comments

@ravshansbox
Copy link

Currently it's hard to build the font. I've tried both on mac and linux without any success. Would be great to have a docker build.

@subframe7536
Copy link
Owner

subframe7536 commented Apr 17, 2024

There will be a browser-based tool for custom build.

Also, in v7, the minimal dependency is foundrytools-cli. I don't think it's too hard to install it.

@ravshansbox
Copy link
Author

Installing it is not hard, but in bare ubuntu it is not working

@subframe7536
Copy link
Owner

Is there any error log?

@ravshansbox
Copy link
Author

Yeap, sure. Here it is
image

@ravshansbox
Copy link
Author

What are the exact steps to do this in a fresh ubuntu?

@subframe7536
Copy link
Owner

hmm... I recommend to create a codespace on variable branch and build the font in it

@subframe7536
Copy link
Owner

subframe7536 commented Apr 20, 2024

What are the exact steps to do this in a fresh ubuntu?

In my Debian on WSL, there is no extra step

@ravshansbox
Copy link
Author

I'm pretty sure you need to install python and pip at least

@subframe7536
Copy link
Owner

In codespace:

  1. pip install foundrytools-cli
  2. python build.py

That's all

@ravshansbox
Copy link
Author

Figured out what was missing, it's the python-is-python3 package

@ravshansbox
Copy link
Author

So basically, these are the required apt packages python3 python-is-python3 fontforge python3-fontforge

subframe7536 added a commit that referenced this issue Apr 21, 2024
@subframe7536
Copy link
Owner

Thanks. Docs updated

@ravshansbox
Copy link
Author

ravshansbox commented Apr 21, 2024

Also, if one wants to use docker for this, the param --platform=linux/x86_64 should be included on ARM Macs, otherwise linux/arm64 is chosen and some packages won't compile on it

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

2 participants