When executing my serverspec tests within an Alpine-based Docker container with Ruby 2.4 installed, my tests always failed and I got the following stack trace:
This first happened after I added the following line in my Dockerfile_spec.rb, which serves the purpose of doing a login to my private Docker registry:
Hi,
When executing my serverspec tests within an Alpine-based Docker container with Ruby 2.4 installed, my tests always failed and I got the following stack trace:
This first happened after I added the following line in my Dockerfile_spec.rb, which serves the purpose of doing a login to my private Docker registry:
I finally succeeded in fixing this by explicitly pulling the json gem in my project's Gemfile:
Shouldn't this dependency be declared on your side?
Cheers, Patrick