Fix travis script (#1067)
* Fix travis script Signed-off-by: Emile Vauge <emile@vauge.com> * how do i pronounce this damn project Signed-off-by: Emile Vauge <emile@vauge.com> * Remove unstable Docker 1.13 tests Signed-off-by: Emile Vauge <emile@vauge.com>
This commit is contained in:
parent
02473328e7
commit
c1182377db
4 changed files with 57 additions and 49 deletions
|
@ -3,12 +3,17 @@ FROM node:6.9.1
|
|||
ENV WEBUI_DIR /src/webui
|
||||
RUN mkdir -p $WEBUI_DIR
|
||||
|
||||
RUN apt-get -yq update \
|
||||
&& apt-get -yq --no-install-suggests --no-install-recommends --force-yes install apt-transport-https \
|
||||
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
||||
&& apt-get -yq update && apt-get -yq --no-install-suggests --no-install-recommends --force-yes install yarn
|
||||
|
||||
COPY package.json $WEBUI_DIR/
|
||||
COPY yarn.lock $WEBUI_DIR/
|
||||
|
||||
WORKDIR $WEBUI_DIR
|
||||
RUN npm set progress=false
|
||||
RUN npm install --quiet --global yarn@0.16.1
|
||||
RUN yarn install
|
||||
|
||||
COPY . $WEBUI_DIR/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue