diff --git a/docker-compose-jruby-9.0.0.0.yml b/docker-compose-jruby-9.0.0.0.yml index a6b3a822..c451976d 100644 --- a/docker-compose-jruby-9.0.0.0.yml +++ b/docker-compose-jruby-9.0.0.0.yml @@ -1,6 +1,9 @@ version: '3' services: httpx: - image: jruby:9.2.7-alpine + image: jruby:9.2.13 environment: - JRUBY_OPTS=--debug + entrypoint: + - bash + - /home/test/support/ci/build.sh diff --git a/test/support/ci/build.sh b/test/support/ci/build.sh index b7373a28..17d77eca 100755 --- a/test/support/ci/build.sh +++ b/test/support/ci/build.sh @@ -4,10 +4,9 @@ RUBY_PLATFORM=`ruby -e 'puts RUBY_PLATFORM'` RUBY_ENGINE=`ruby -e 'puts RUBY_ENGINE'` if [[ "$RUBY_ENGINE" = "truffleruby" ]]; then - apt-get update && apt-get install -y \ - iptables + apt-get update && apt-get install -y git iptables elif [[ "$RUBY_PLATFORM" = "java" ]]; then - apk --update add make git bash iptables + apt-get update && apt-get install -y git iptables elif [[ ${RUBY_VERSION:0:3} = "2.1" ]]; then apk --update add g++ make git bash libsodium iptables else