Skip to content

Commit dfec568

Browse files
committed
added yarn cli
1 parent 5a9df55 commit dfec568

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

php7.1/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ ENV NODE_VERSION ${NODE_VERSION}
6262
RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION} | bash -
6363
RUN apt-get -y install nodejs
6464

65+
# Installing yarn using npm
66+
RUN npm install --global yarn
67+
6568
# Manage project and add scripts
6669
RUN mkdir /var/www/project
6770
ADD manage-project-permission.sh /root/manage-project-permission.sh

php7.2/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ ENV NODE_VERSION ${NODE_VERSION}
6262
RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION} | bash -
6363
RUN apt-get -y install nodejs
6464

65+
# Installing yarn using npm
66+
RUN npm install --global yarn
67+
6568
# Manage project and add scripts
6669
RUN mkdir /var/www/project
6770
ADD manage-project-permission.sh /root/manage-project-permission.sh

php7.3/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ ENV NODE_VERSION ${NODE_VERSION}
6262
RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION} | bash -
6363
RUN apt-get -y install nodejs
6464

65+
# Installing yarn using npm
66+
RUN npm install --global yarn
67+
6568
# Manage project and add scripts
6669
RUN mkdir /var/www/project
6770
ADD manage-project-permission.sh /root/manage-project-permission.sh

php7.4/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ ENV NODE_VERSION ${NODE_VERSION}
6262
RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION} | bash -
6363
RUN apt-get -y install nodejs
6464

65+
# Installing yarn using npm
66+
RUN npm install --global yarn
67+
6568
# Manage project and add scripts
6669
RUN mkdir /var/www/project
6770
ADD manage-project-permission.sh /root/manage-project-permission.sh

php8.0-rc/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ ENV NODE_VERSION ${NODE_VERSION}
6767
RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION} | bash -
6868
RUN apt-get -y install nodejs
6969

70+
# Installing yarn using npm
71+
RUN npm install --global yarn
72+
7073
# Manage project and add scripts
7174
RUN mkdir /var/www/project
7275
ADD manage-project-permission.sh /root/manage-project-permission.sh

0 commit comments

Comments
 (0)