Skip to content

Commit

Permalink
Add config to Dockerfile to make sassc portable
Browse files Browse the repository at this point in the history
We had some issues in development that meant the Docker image fell
over during boot. The solution outlined in sass/sassc-ruby#146 (comment) should fix it so we're not relying on the
underlying system that built the image
  • Loading branch information
pezholio committed Nov 13, 2019
1 parent 3696db3 commit d7d8c1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ COPY Gemfile ${DEPS_HOME}/Gemfile
COPY Gemfile.lock ${DEPS_HOME}/Gemfile.lock

RUN gem install bundler
ENV BUNDLE_BUILD__SASSC=--disable-march-tune-native

RUN if [ ${RAILS_ENV} = "production" ]; then \
bundle install --frozen --retry 3 --without development test; \
Expand Down

0 comments on commit d7d8c1e

Please sign in to comment.