inspec / train

Transport Interface to unify communication over SSH, WinRM, and friends.
Apache License 2.0
119 stars 87 forks source link

Fix: Update ruby base image to bullseye in CI tests #765

Closed ahasunos closed 5 months ago

ahasunos commented 5 months ago

Description

The current Docker image version (ruby:3.1) encounters a ThreadError due to restrictions imposed by libseccomp, blocking certain system calls necessary for the certain operations.

/workdir/vendor/bundle/ruby/3.1.0/gems/minitest-5.22.3/lib/minitest/parallel.rb:28:in `initialize': can't create Thread: Operation not permitted (ThreadError)

This PR addresses the issue encountered in the current Docker image setup by updating the Docker image version from ruby:3.1 to ruby:3.1-bullseye.

Note: This is a workaround

Related Issue

CHEF-11234: CI is breaking for inspec, inspec-gcp, and train due to issue with docker image used for the tests

Types of changes

Checklist: