not using alpine for jruby

This commit is contained in:
HoneyryderChuck 2020-10-03 02:25:59 +01:00
parent c758b6e49d
commit 5c93746718
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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