From 4023275eabda3beecb735463f4155cbc2a436be7 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 26 Oct 2021 16:44:42 -0300 Subject: [PATCH] copiar el archivo modificado desde build --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3920a6f5..0e0e55fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -96,10 +96,8 @@ RUN apk add --no-cache git-lfs openssh-client patch # Chequear que la versiĆ³n de ruby sea la correcta RUN test "${RUBY_VERSION}.${RUBY_PATCH}" = `ruby -e 'puts RUBY_VERSION'` -# https://github.com/rubygems/rubygems/issues/2918 -# https://gitlab.alpinelinux.org/alpine/aports/issues/10808 -COPY ./rubygems-platform-musl.patch /tmp/ -RUN apk add --no-cache patch && cd /usr/lib/ruby/${RUBY_VERSION}.0 && patch -Np 0 -i /tmp/rubygems-platform-musl.patch && apk del patch +COPY --from=build /usr/lib/ruby/${RUBY_VERSION}.0/rubygems.rb \ + /usr/lib/ruby/${RUBY_VERSION}.0/rubygems.rb # Necesitamos yarn para que Jekyll pueda generar los sitios # XXX: Eliminarlo cuando extraigamos la generaciĆ³n de sitios del proceso