mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 21:06:22 +00:00
copiar el archivo modificado desde build
This commit is contained in:
parent
168be4c4f5
commit
4023275eab
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue