Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Commit

Permalink
Add yarn to docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhammerl committed Dec 3, 2018
1 parent f4a5456 commit 4af2ec2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,19 @@ RUN yum -y -q install wget epel-release openssl openssl-devel tar unzip \
gcc gcc-c++ make zlib-devel pcre-devel \
ruby rubygems java-1.8.0-openjdk.x86_64 which \
php php-cli
RUN yum -y -q clean all

ENV NODE_VERSION=10.10.0
RUN curl --silent --location https://rpm.nodesource.com/setup_10.x | bash -
RUN yum -y install nodejs-${NODE_VERSION} && \
yum -y clean all
RUN yum -y install nodejs-${NODE_VERSION}

RUN node --version && \
npm --version

RUN yum -y -q update && \
yum -y -q clean all
RUN curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo
RUN yum -y -q update
RUN yum -y -q install yarn

RUN yum -y -q clean all

RUN curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
RUN python get-pip.py
Expand Down

0 comments on commit 4af2ec2

Please sign in to comment.