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
Cypress Ruby
Commits
71931480
Commit
71931480
authored
Jul 10, 2019
by
Cristian Livadaru
Browse files
initial commit
parents
Pipeline
#3171
failed with stages
in 10 minutes and 54 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
0 → 100644
View file @
71931480
FROM
node:12.1.0 as node
FROM
ruby:2.3.8
LABEL
maintainer="Cristian Livadaru - https://lcx.at"
RUN
apt-get update
-yqq
\
&&
apt-get
install
-qq
--no-install-recommends
-y
\
apt-transport-https
\
ca-certificates
\
zip
\
cmake
\
libgtk2.0-0
\
libgtk-3-0
\
libnotify-dev
\
libgconf-2-4
\
libnss3
\
libxss1
\
libasound2
\
libxtst6
\
xauth
\
xvfb
&&
\
rm
-rf
/var/lib/apt/lists/
*
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
echo
" node version:
$(
node
-v
)
\n
"
\
"npm version:
$(
npm
-v
)
\n
"
\
"debian version:
$(
cat
/etc/debian_version
)
\n
"
\
"user:
$(
whoami
)
\n
"
ARG
CYPRESS_VERSION="3.3.2"
RUN
echo
"whoami:
$(
whoami
)
"
RUN
npm config
-g
set
user
$(
whoami
)
RUN
npm
install
-g
"cypress@
${
CYPRESS_VERSION
}
"
RUN
cypress verify
# Cypress cache and installed version
RUN
cypress cache path
RUN
cypress cache list
# versions of local tools
RUN
echo
" node version:
$(
node
-v
)
\n
"
\
"npm version:
$(
npm
-v
)
\n
"
\
"debian version:
$(
cat
/etc/debian_version
)
\n
"
\
"user:
$(
whoami
)
\n
"
ENTRYPOINT
["cypress", "run"]
README.md
0 → 100644
View file @
71931480
# Ruby + Cypress Docker Image
A Docker Image with node 12, ruby 2.3.8 and cypress 3.3.2
Cypress installation based on https://github.com/cypress-io/cypress-docker-images/blob/master/included/3.3.2/Dockerfile
Write
Preview
Markdown
is supported
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