mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Enhance Dockerfile / Fix missing extjs file bug
1. Speed-up nokogiri install significantly by turning off lib compilation 2. File at http://my.jasondenney.com/extjs-4.1.1.zip can't be found, but it has been used for a long time. Now just including it in the repository. 3. Added helping documentation in Dockerfile
This commit is contained in:
+8
-3
@@ -14,10 +14,15 @@ RUN apt-get update && apt-get install -y nodejs --no-install-recommends && \
|
||||
COPY Gemfile /usr/src/app/
|
||||
COPY Gemfile.lock /usr/src/app/
|
||||
|
||||
RUN bundle install
|
||||
RUN env NOKOGIRI_USE_SYSTEM_LIBRARIES=true bundle install
|
||||
|
||||
COPY install_extjs.rb /usr/src/app/
|
||||
RUN /usr/src/app/install_extjs.rb
|
||||
#COPY install_extjs.rb /usr/src/app/
|
||||
#RUN /usr/src/app/install_extjs.rb
|
||||
|
||||
COPY extjs-4.1.1.zip /usr/lib/
|
||||
|
||||
RUN unzip -d /usr/lib /usr/lib/extjs-4.1.1.zip; \
|
||||
mv /usr/lib/ext-4.1.1a /usr/lib/extjs
|
||||
|
||||
COPY install_famfamfam.rb /usr/src/app/
|
||||
RUN /usr/src/app/install_famfamfam.rb
|
||||
|
||||
Reference in New Issue
Block a user