Commit 90faef28 authored by Cristian Livadaru's avatar Cristian Livadaru
Browse files

initial deploy

parents
Pipeline #3204 failed with stages
in 15 minutes and 50 seconds
File added
FROM node:10.14 as node
FROM ruby:2.5.5
RUN apt-get update -yqq \
&& apt-get install -qq --no-install-recommends apt-transport-https ca-certificates zip cmake
# install nodejs yarn
COPY --from=node /usr/local/bin/node /usr/local/bin/node
COPY --from=node /usr/local/include/node /usr/local/include/node
COPY --from=node /usr/local/lib/node_modules /usr/local/lib/node_modules
RUN ln -s /usr/local/bin/node /usr/local/bin/nodejs && \
ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm
RUN 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 -yqq update \
&& apt-get install -qq --no-install-recommends yarn \
&& rm -rf /var/lib/apt/lists/*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment