fix planner dockerfile

closes ADMIN-2534

test plan:
 - daily build no longer fails

Change-Id: I745a2ad77263454974a106cdc5117e6186da448e
Reviewed-on: https://gerrit.instructure.com/186835
Tested-by: Jenkins
Reviewed-by: Mysti Lilla <mysti@instructure.com>
QA-Review: Mysti Lilla <mysti@instructure.com>
Product-Review: Mysti Lilla <mysti@instructure.com>
This commit is contained in:
Carl Kibler 2019-03-25 16:22:32 -06:00 committed by Mysti Lilla
parent 6fe3babe9e
commit 7e8e23e85d
1 changed files with 0 additions and 9 deletions

View File

@ -1,14 +1,5 @@
FROM instructure/node:10
# the instructure/node:10 docker image uses yarn 0.27 still, we want to use at least 1.3.2
USER root
ENV YARN_VERSION 1.3.2-1
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends yarn="$YARN_VERSION" \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/
USER docker
ENV APP_HOME /usr/src/app