From e22e5ffbf5f195580888a10e5ed90a2717542956 Mon Sep 17 00:00:00 2001 From: f Date: Sat, 26 Sep 2020 17:00:46 -0300 Subject: [PATCH] ruby 2.7.1 --- Dockerfile | 5 ++--- gem-compiler.gem | Bin 13312 -> 0 bytes gemcompiler.sh | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 gem-compiler.gem diff --git a/Dockerfile b/Dockerfile index ad30b0c..62e451e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,9 +8,7 @@ ENV HTTP_BASIC_USER=sutty ENV HTTP_BASIC_PASSWORD=gibberish ENV NOKOGIRI_USE_SYSTEM_LIBRARIES=1 -COPY ./gem-compiler.gem /tmp/ -RUN gem install --no-user-install --no-document /tmp/gem-compiler.gem -RUN gem install --no-user-install --no-document --source https://rubygems.org geminabox mini_portile2 +RUN gem install --no-user-install --no-document --source https://rubygems.org geminabox mini_portile2 gem-compiler COPY ./gemcompiler.sh /usr/local/bin/gemcompiler RUN chmod 755 /usr/local/bin/gemcompiler @@ -20,6 +18,7 @@ VOLUME /srv/gems RUN apk add --no-cache file-dev RUN apk add --no-cache libssh2-dev +RUN apk add --no-cache libc6-compat libstdc++ USER builder ENTRYPOINT /usr/local/bin/gemcompiler diff --git a/gem-compiler.gem b/gem-compiler.gem deleted file mode 100644 index 87185a1b8a085b20a7ce5d1cceb5855384b2e68e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13312 zcmeHtRajh2yCv>Ua19PY8utJJf@`qg+IXOG3l700xVyVU;~rca3lQAhy(eep;+*Hd zn7KOtoQv2w{^B?J7``46{n};8U zlbe?ZzzyKx2k^oG{?`0`oEq@o<Ha^pNEL|!GZ-FV00$4zT2uKA!122`0&Rzs_)OQq#)pQ&aMBs$W!%+TM`Z4#dkMG! zg~gjPtDx_o?Cs>^8vJPq_uA)|@ zZeapd&G3`J)*({;)iXNk7PgbV2bvhh)`>&ypi$kCHH{1gc)!rg$%)1~lE{rpe8R~G z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};II#MNud9|;MVm!G-MavnD}awZ@@5fJ^fVtj>|30;iS zk7Hi+|9B{fsi>RG3F`GZdcKAg2Wk5Wdl(u`7FRGI&3ZK-p_iiwx3Ca=`pt{9Aj%*F zjY6Jn!D{Z_R}Af<`nsk#k!Ib_FN0FF!DMBh=RnxIP5W>y#Lrfd(>YIH{$wrq3bqEM zyRbNmT{s)@JO+ZCJvFq(fofr5KTCa8r|`X>Uv$OZ>pWCws|Akz&<1RuF5VQ_@e1cE zntpM&Umi|5wH-p#;ZE`GGc=mVXVA@?p0!4?@35YLG?r$j7Q2}QvMq@|I}v1K?rCCg_ur!e`wwaC|3&``;Nj)^7yTCxAAs*4{nx)^ar~$L%OYM>86JS~ z`93?Jh{=guxVgQq&KV9G5{~G)byFBc?HR_pyX$TAt>yRb>nVZf8pqX5^ zJx#B%lwHCa(g&ep?>Sv1Y8ZHcfo6Y>pyx(+=IjJ6I8vOApnd?`E?7~gStbXyqVsFB zE7cueWIcrxP=nnJ**r&f)a>@%dx0Op?<>z3@%QCNQ9TnS>s3D32u#YSLA^d^kS-N( z6VJ24H%bp{u`*cEq1(|xb|XnDVaT1YPn;+6=;5V-@V~R2qX+kQXOrvoXZs4gNs9T# pE+ek_VFugrm?su?ksY({%;#bM9pB=gG5$f|9|ZnE;NOYB{{rtMH^%?~ diff --git a/gemcompiler.sh b/gemcompiler.sh index 6c4d870..b90df82 100644 --- a/gemcompiler.sh +++ b/gemcompiler.sh @@ -6,11 +6,11 @@ PLATFORM=`ruby -e "puts RbConfig::CONFIG['arch']"` cd /srv/gems test -f ${GEM}-${VERSION}.gem \ - || gem fetch --source=https://rubygems.org --platform=ruby \ + || gem fetch --source=https://${SUTTY} --platform=ruby \ --version ${VERSION} ${GEM} test -f ${GEM}-${VERSION}-${PLATFORM}.gem \ - || gem compile -V --prune ${GEM}-${VERSION}.gem + || gem compile -V --prune --strip "strip --strip-unneeded" ${GEM}-${VERSION}.gem gem inabox -o ${GEM}-${VERSION}-${PLATFORM}.gem \ --host https://${HTTP_BASIC_USER}:${HTTP_BASIC_PASSWORD}@gems.${SUTTY}