This commit is contained in:
f 2020-04-10 20:50:57 -03:00
parent a13eed96f4
commit 4f6cf53e24
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -1,6 +1,6 @@
FROM sutty/sdk:latest FROM sutty/sdk:latest
MAINTAINER "f <f@sutty.nl>" MAINTAINER "f <f@sutty.nl>"
ENV VERSION 2.5.7 ENV VERSION 2.6.6
RUN apk add --no-cache git nodejs nodejs-npm yarn tzdata libxslt-dev libxml2-dev RUN apk add --no-cache git nodejs nodejs-npm yarn tzdata libxslt-dev libxml2-dev
RUN apk add --no-cache ruby-dev ruby-bundler ruby-json ruby-bigdecimal ruby-rake ruby-etc RUN apk add --no-cache ruby-dev ruby-bundler ruby-json ruby-bigdecimal ruby-rake ruby-etc
@ -15,6 +15,6 @@ RUN install -dm 2750 -o app -g www-data /home/app/sutty
# 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 patch -d /usr/lib/ruby/2.6.0 -Np 0 -i /tmp/rubygems-platform-musl.patch
ENTRYPOINT /bin/sh ENTRYPOINT /bin/sh