metanorma / metanorma-docker

Docker container for running the Metanorma toolchain
https://www.metanorma.com
5 stars 3 forks source link

Allow install gems from GitHub Packages #101

Closed CAMOBAP closed 3 years ago

CAMOBAP commented 3 years ago

This PR allow to install our private gems like metanorma-nist and metanorma-bsi on docker (because metanorma-cli depends on private gems)

ronaldtse commented 3 years ago

@camobap just wanted to be sure that we do not publish the private gems with a public docker container.

The public containers should only contain the public gems.

Private docker containers can contain private gems.

ronaldtse commented 3 years ago

Seems that Ubuntu failing here?

Please supply credentials for this source. You can do this by running:
4600
`bundle config set --global rubygems.pkg.github.com username:password`
4601
or by storing the credentials in the `BUNDLE_RUBYGEMS__PKG__GITHUB__COM` environment variable
4602
/usr/local/bundle/gems/bundler-2.2.22/lib/bundler/fetcher/downloader.rb:43:in `fetch'
4603
  /usr/local/bundle/gems/bundler-2.2.22/lib/bundler/fetcher/dependency.rb:10:in `available?'
4604
  /usr/local/bundle/gems/bundler-2.2.22/lib/bundler/fetcher.rb:162:in `use_api'
4605
  /usr/local/bundle/gems/bundler-2.2.22/lib/bundler/source/rubygems.rb:402:in `block in api_fetchers'
4606
ronaldtse commented 3 years ago

Thank you @camobap!