update to node v10 for all of the things (#6218)

* update to node v10 for all of the things

* combine apt-get commands
This commit is contained in:
Matthew Irish
2019-02-13 08:34:38 -06:00
committed by Chris Hoffman
parent b62e307876
commit fa13c45e7c
3 changed files with 10 additions and 5 deletions

View File

@@ -12,12 +12,14 @@ RUN apt-get update -y && apt-get install --no-install-recommends -y -q \
libltdl-dev \
libltdl7
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get install -y nodejs npm
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update -y && apt-get install nodejs yarn=1.12.1-1
RUN rm -rf /var/lib/apt/lists/*
RUN npm install -g yarn@1.12.1
ENV GOVERSION 1.11.5
RUN mkdir /goroot && mkdir /gopath