use busybox patch

This commit is contained in:
f 2019-09-18 14:03:44 -03:00
parent 47bdebcc0f
commit a5caa08b64
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -32,7 +32,7 @@ RUN chmod 755 /usr/local/bin/geminabox
# https://github.com/rubygems/rubygems/issues/2918 # https://github.com/rubygems/rubygems/issues/2918
# https://gitlab.alpinelinux.org/alpine/aports/issues/10808 # https://gitlab.alpinelinux.org/alpine/aports/issues/10808
COPY ./rubygems-platform-musl.patch /tmp/ COPY ./rubygems-platform-musl.patch /tmp/
RUN patch -d /usr/lib/ruby/2.5.0 -Np 0 -i /tmp/rubygems-platform-musl.patch RUN cd /usr/lib/ruby/2.5.0 && patch -Np 0 -i /tmp/rubygems-platform-musl.patch
EXPOSE 9292 EXPOSE 9292
VOLUME /srv/gems VOLUME /srv/gems