usar bundler 2.0.1

This commit is contained in:
fauno 2019-04-06 17:51:42 -03:00
parent fea405767a
commit 588b0a6089
No known key found for this signature in database
GPG key ID: 456032D717A4CD9C
2 changed files with 5 additions and 4 deletions

View file

@ -6,7 +6,7 @@ ENV RAILS_ENV production
# Instalar las herramientas para instalar las gemas y paquetes
RUN apk add --no-cache git tzdata libxslt libxslt-dev libxml2 libxml2-dev alpine-sdk
RUN apk add --no-cache ruby-dev ruby-bundler ruby-json ruby-bigdecimal ruby-rake
RUN apk add --no-cache ruby-dev ruby-json ruby-bigdecimal ruby-rake
RUN apk add --no-cache sqlite sqlite-dev
# Crear una usuaria de trabajo, más que nada para que bundler no se
# queje que estamos corriendo como root
@ -31,9 +31,10 @@ COPY --chown=app:www-data ./.git/ ./.git/
RUN git archive -o ../web.tar.gz HEAD
FROM lunar/monit:3.9
RUN apk add --no-cache libxslt libxml2 tzdata ruby ruby-bundler ruby-json ruby-bigdecimal ruby-rake
RUN apk add --no-cache sqlite sqlite-libs
RUN apk add --no-cache libxslt libxml2 tzdata ruby ruby-json ruby-bigdecimal ruby-rake
RUN apk add --no-cache sqlite-libs
RUN apk add --no-cache darkhttpd
RUN gem install --no-user-install --no-ri --no-rdoc bundler
COPY ./entrypoint.sh /usr/bin/entrypoint
RUN chmod 755 /usr/bin/entrypoint
# Agregar el usuario

View file

@ -186,4 +186,4 @@ RUBY VERSION
ruby 2.5.3p105
BUNDLED WITH
1.17.3
2.0.1