Commit 71931480 authored by Cristian Livadaru's avatar Cristian Livadaru
Browse files

initial commit

Pipeline #3171 failed with stages
in 10 minutes and 54 seconds
FROM node:12.1.0 as node
FROM ruby:2.3.8
LABEL maintainer="Cristian Livadaru -"
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"
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"]
# Ruby + Cypress Docker Image
A Docker Image with node 12, ruby 2.3.8 and cypress 3.3.2
Cypress installation based on
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