usar bundler 2.0.1
This commit is contained in:
parent
fea405767a
commit
588b0a6089
2 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -186,4 +186,4 @@ RUBY VERSION
|
|||
ruby 2.5.3p105
|
||||
|
||||
BUNDLED WITH
|
||||
1.17.3
|
||||
2.0.1
|
||||
|
|
Loading…
Reference in a new issue