Open danking opened 1 year ago
Ah, I also tried to install k8s-ruby, but version 0.10.4 doesn't appear to be in the ruby gems repo?
...
RUN gem install k8s-ruby -v 0.10.4
=> ERROR [4/6] RUN gem install k8s-ruby -v 0.10.4 23.9s
------
> [4/6] RUN gem install k8s-ruby -v 0.10.4:
#7 2.338 ERROR: Could not find a valid gem 'k8s-ruby' (= 0.10.4) in any repository
#7 23.87 ERROR: Possible alternatives: k8s-ruby
------
executor failed running [/bin/sh -c gem install k8s-ruby -v 0.10.4]: exit code: 2
I have this Dockerfile:
Attempt 1
I build it with
docker build -t chef-gke -f Dockerfile .
in a directory with no other files. Every layer builds fine until I get to theinspec plugin install train-kubernetes
. That fails with this error:Attempt 2
I also tried with
gem uninstall excon -v 0.85.0
, which is the other version which is present. With that change to the Dockerfile, I get this error instead:Attempt 3
I also tried building without
gem uninstall excon
at all:This also fails with
Attempt 4
And one last try with as little extra noise as possible:
Same error: