pin yarn version for docker

test plan:
docker-compose build works again \o/

Change-Id: I2d599a9463cdcca7d48e8d310c658f040b42c6a3
Reviewed-on: https://gerrit.instructure.com/125573
Tested-by: Jenkins
Reviewed-by: John Corrigan <jcorrigan@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
This commit is contained in:
Jon Jensen 2017-09-11 13:14:52 -06:00
parent f020dd21ba
commit 6d8d6abdd4
3 changed files with 6 additions and 3 deletions

View File

@ -8,6 +8,7 @@ FROM instructure/ruby-passenger:2.4
ENV APP_HOME /usr/src/app/
ENV RAILS_ENV "production"
ENV NGINX_MAX_UPLOAD_SIZE 10g
ENV YARN_VERSION 0.27.5-1
# Work around github.com/zertosh/v8-compile-cache/issues/2
# This can be removed once yarn pushes a release including the fixed version
@ -23,7 +24,7 @@ RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - \
&& apt-get update -qq \
&& apt-get install -qqy --no-install-recommends \
nodejs \
yarn \
yarn="$YARN_VERSION" \
libxmlsec1-dev \
python-lxml \
libicu-dev \

View File

@ -8,6 +8,7 @@ FROM instructure/ruby-passenger:2.4
ENV APP_HOME /usr/src/app/
ENV RAILS_ENV "production"
ENV NGINX_MAX_UPLOAD_SIZE 10g
ENV YARN_VERSION 0.27.5-1
# Work around github.com/zertosh/v8-compile-cache/issues/2
# This can be removed once yarn pushes a release including the fixed version
@ -23,7 +24,7 @@ RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - \
&& apt-get update -qq \
&& apt-get install -qqy --no-install-recommends \
nodejs \
yarn \
yarn="$YARN_VERSION" \
libxmlsec1-dev \
python-lxml \
libicu-dev \

View File

@ -5,6 +5,7 @@ FROM instructure/ruby-passenger:2.4
ENV APP_HOME /usr/src/app/
ENV RAILS_ENV "production"
ENV NGINX_MAX_UPLOAD_SIZE 10g
ENV YARN_VERSION 0.27.5-1
# Work around github.com/zertosh/v8-compile-cache/issues/2
# This can be removed once yarn pushes a release including the fixed version
@ -20,7 +21,7 @@ RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - \
&& apt-get update -qq \
&& apt-get install -qqy --no-install-recommends \
nodejs \
yarn \
yarn="$YARN_VERSION" \
libxmlsec1-dev \
python-lxml \
libicu-dev \