Skip to content

Commit

Permalink
Add comment to refer to #51
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldtse committed Feb 23, 2020
1 parent 442995a commit 9827eed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Dockerfile.ruby.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ RUN gem install bundler
# install metanorma toolchain
RUN mkdir -p /setup
COPY ${METANORMA_IMAGE_NAME}/Gemfile /setup/Gemfile
RUN cd /setup && bundle config --local build.sassc --disable-march-tune-native && bundle install --verbose
# Specially build sassc due to incompatible binary metanorma/metanorma-docker#51
RUN cd /setup \
&& bundle config --local build.sassc --disable-march-tune-native \
&& bundle install --verbose

# export java executable path
ENV JAVA_HOME /usr/lib/jvm/default-java
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile.ubuntu.in
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ RUN gem install bundler
# install metanorma toolchain
RUN mkdir -p /setup
COPY ${METANORMA_IMAGE_NAME}/Gemfile /setup/Gemfile
RUN cd /setup && bundle config --local build.sassc --disable-march-tune-native && bundle install --verbose
# Specially build sassc due to incompatible binary metanorma/metanorma-docker#51
RUN cd /setup \
&& bundle config --local build.sassc --disable-march-tune-native \
&& bundle install --verbose

# cleanup and set base entrypoint
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 9827eed

Please sign in to comment.