Skip to content
This repository has been archived by the owner on Jul 20, 2018. It is now read-only.

Install nodejs & yarn #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ RUN apt-get update \
# Sylius PHP configuration
COPY php/sylius.ini /usr/local/etc/php/conf.d/sylius.ini

# All things nodejs & yarn
RUN curl -sS http://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb http://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& curl -sL http://deb.nodesource.com/setup_8.x | bash - \
&& apt-get install -y nodejs \
&& apt-get install yarn

# All things composer
RUN php -r 'readfile("https://getcomposer.org/installer");' > composer-setup.php \
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer \
Expand Down