Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
lcx_at
ruby-yarn-node
Commits
90faef28
Commit
90faef28
authored
Jul 17, 2019
by
Cristian Livadaru
Browse files
initial deploy
parents
Pipeline
#3204
failed with stages
in 15 minutes and 50 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.DS_Store
0 → 100644
View file @
90faef28
File added
Dockerfile
0 → 100644
View file @
90faef28
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/
*
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment