Skip to content
This repository was archived by the owner on Jul 26, 2021. It is now read-only.

Commit f47e06b

Browse files
committed
rubyracer is much faster than nodejs
compilation of libv8 takes allot of time though reactjs/react-rails#290
1 parent ee0f1cf commit f47e06b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
FROM ruby:2.4-alpine
22

3-
# RUN apk add --update --no-cache --virtual build-deps build-base python git bash && \
4-
# gem install libv8 -v 3.16.14.16 && \
5-
# apk del build-deps
3+
RUN apk add --update --no-cache --virtual build-deps build-base python git bash && \
4+
gem install libv8 -v 3.16.14.16 && \
5+
apk del build-deps
66

77
RUN apk --update add \
88
bash \
99
build-base \
1010
mariadb-dev \
1111
libxml2-dev libxslt-dev \
1212
git \
13-
nodejs \
1413
&& rm -rf /var/lib/apt/lists/* \
1514
&& rm /var/cache/apk/*
1615

0 commit comments

Comments
 (0)