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

Feature Request: Support for unregistered packages #106

Open
ivborissov opened this issue Sep 16, 2021 · 1 comment
Open

Feature Request: Support for unregistered packages #106

ivborissov opened this issue Sep 16, 2021 · 1 comment

Comments

@ivborissov
Copy link

It would be great to extend SimpleContainerGenerator.jl support to unregistered packages. Currently one can set pkgs argument to SimpleContainerGenerator.create_dockerfile as pkgs = [(name = "MyUnregisteredPackage.jl", url = "https://...")] and name and url will be correctly put into Pkg.PackageSpec in the generated install_packages.jl script. However build process fails on the following line of install_packages.jl script:

for (uuid, info) in Pkg.dependencies()
  Pkg.add(info.name)
end

ERROR: LoadError: expected package MyUnregisteredPackage to be registered

@urlicht
Copy link

urlicht commented Oct 3, 2021

+1 on this. It'd be great to be able to include a pkg from private remote repo or a local directory

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