More bumbleberry workarounds, until bumbleberry:update is working properly.
This commit is contained in:
parent
327188df79
commit
349a641dfa
18
Dockerfile
18
Dockerfile
@ -6,7 +6,6 @@
|
|||||||
FROM ruby:2.5
|
FROM ruby:2.5
|
||||||
MAINTAINER Jonathan Rosenbaum <bike@bikelover.org>
|
MAINTAINER Jonathan Rosenbaum <bike@bikelover.org>
|
||||||
|
|
||||||
##RUN git clone https://github.com/fspc/BikeBikeBike.git /app/BikeBike
|
|
||||||
COPY . /app/BikeBike
|
COPY . /app/BikeBike
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y nodejs postgresql-client
|
RUN apt-get update && apt-get install -y nodejs postgresql-client
|
||||||
@ -14,24 +13,9 @@ RUN apt-get update && apt-get install -y nodejs postgresql-client
|
|||||||
# Note: phantomjs has been deprecated in favor of headless chrome
|
# Note: phantomjs has been deprecated in favor of headless chrome
|
||||||
WORKDIR /app/BikeBike
|
WORKDIR /app/BikeBike
|
||||||
|
|
||||||
# COPY changes/Gemfile .
|
|
||||||
# Use DATABASE_URL env variable instead, although it takes precedence, regardless
|
|
||||||
# COPY database.yml ./config/database.yml
|
|
||||||
RUN bundle install
|
RUN bundle install
|
||||||
|
|
||||||
RUN mkdir -p public/stylesheets/application -p public/stylesheets/web-fonts && tar xvfz bumbleberry-css.tar.gz -C public/stylesheets/application && tar xvfz bumbleberry-css.tar.gz -C public/stylesheets/web-fonts
|
RUN mkdir -p public/stylesheets/application -p public/stylesheets/web-fonts && tar xvfz bumbleberry-application.tar.gz -C public/stylesheets/application && tar xvfz bumbleberry-web-fonts.tar.gz -C public/stylesheets/web-fonts && tar xvfz bumbleberry-admin.tar.gz -C public/stylesheets/admin
|
||||||
|
|
||||||
#RUN gem install json -v '1.8.6'
|
|
||||||
#RUN gem install activesupport -v '4.2.0'
|
|
||||||
#RUN gem install mini_portile2 -v '2.6.1'
|
|
||||||
#RUN gem install racc -v '1.6.0'
|
|
||||||
#RUN gem install actionview -v '4.2.0'
|
|
||||||
|
|
||||||
# Gem::LoadError: You have already activated rake 12.3.3, but your Gemfile requires rake 11.1.2. Prepending `bundle exec` to your command may solve this.
|
|
||||||
# Do this with docker-compose
|
|
||||||
# RUN rake db:create
|
|
||||||
# RUN rake db:migrate
|
|
||||||
|
|
||||||
|
|
||||||
# Add a script to be executed every time the container starts.
|
# Add a script to be executed every time the container starts.
|
||||||
COPY entrypoint.sh /usr/bin/
|
COPY entrypoint.sh /usr/bin/
|
||||||
|
BIN
bumbleberry-admin.tar.gz
Normal file
BIN
bumbleberry-admin.tar.gz
Normal file
Binary file not shown.
BIN
bumbleberry-application.tar.gz
Normal file
BIN
bumbleberry-application.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
BIN
bumbleberry-web-fonts.tar.gz
Normal file
BIN
bumbleberry-web-fonts.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user