Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't preinstall dependencies for now #6

Merged
merged 1 commit into from
Nov 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions Dockerfile-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@ MAINTAINER [email protected]
ENV RAILS_ENV=production
ENV PORT=3000

# Build a test app in order to be able to precache dependencies. The
# app itself is removed afterwards as dependencies will get installed
# under /usr/local/bundle.
#
RUN cd /tmp && \
decidim decidim_app --skip-bundle && \
cd decidim_app && \
bundle install --without development,test && \
rm -fR decidim_app

ONBUILD COPY Gemfile Gemfile.lock ./
ONBUILD RUN bundle install
ONBUILD COPY . .
Expand Down
8 changes: 0 additions & 8 deletions Dockerfile-dev
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,4 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI

RUN gem install decidim-dev:$decidim_version

# Build a test app in order to be able to precache dependencies. The
# app itself is removed afterwards as dependencies will get installed
# under /usr/local/bundle.
#
RUN cd /tmp && \
decidim decidim_app && \
rm -fR decidim_app

ENTRYPOINT []