https://rancher.com/ logo
Title
m

most-lock-10434

02/03/2023, 12:54 PM
Hi folks, we were investigating if we can move from Docker Desktop to Rancher Desktop and we ran into weird issue when building docker image for Rails server where we use paid
sidekiq-pro
gem, installation of this gem requires
--build-arg BUNDLE_GEMS__CONTRIBSYS__COM=XXX
which we're passing and the same build command works when building in Docker Desktop context, would anyone have a clue what might be happening?
Fetching sidekiq-pro 5.3.1

Retrying download gem from <https://gems.contribsys.com/> due to error (2/4): Gem::RemoteFetcher::FetchError bad response Unauthorized 401 (<https://gems.contribsys.com/gems/sidekiq-pro-5.3.1.gem>)
q

quick-keyboard-83126

02/03/2023, 3:26 PM
Seems like some credentials are hiding somewhere
I'd personally try to use strace inside the docker desktop VM to see what's wiggling around. But entirely sure how to do that, but hey
You could have a docker step that prints your environment and use it on both platforms and check for discrepancies