Skip to content

Convert into a Julia package? #2

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

Open
omus opened this issue Apr 10, 2025 · 0 comments
Open

Convert into a Julia package? #2

omus opened this issue Apr 10, 2025 · 0 comments

Comments

@omus
Copy link
Member

omus commented Apr 10, 2025

It appears that we'll want to create more scripts to assist with creating Julia Docker images. Transferring these various scripts individually is against the spirit of this repository to provide simplified Dockerfiles so we most likely want to include an easy way to install all of the scripts at once. The thought occurred to me that possibly we should just turn these scripts into Julia functions and we could install this just like a normal Julia package.

I suspect we would end up having an interface similar to Pkg in that we'd have our own version of Pkg.precompile. Something else I like about this is that it could let us have a kind of "compat" approach to contributing these changes back into Julia itself.

There are some concerns with doing this though. As these scripts are being used to assist in setting up Julia we could run into issues with Julia writing to a preliminary depot which will be later thrown away. Some things I'd like to look into before committing to this include:

  • Verify we have a nice way of using a Julia package which does not result in writes to the Julia depot
  • How concerned should we be about image bloat? Julia packages will copy in the test directory etc. We should set some guidelines around this
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

1 participant