github.com/kubeshop/testkube@v1.17.23/contrib/executor/cypress/build/agent/Dockerfile.npm (about)

     1  ## Base image consists of:
     2   # FROM node:17
     3   # RUN apt-get update && apt-get install -y libgtk2.0-0 \
     4      #  libgtk-3-0 \
     5      #  libgbm-dev \
     6      #  libnotify-dev \
     7      #  libgconf-2-4 \
     8      #  libnss3 \
     9      #  libxss1 \
    10      #  libasound2 \
    11      #  libxtst6 \
    12      #  xauth \
    13      #  xvfb \
    14      #  git \
    15      #  curl
    16  # RUN npm install -g cypress browserslist@latest
    17  # syntax=docker/dockerfile:1
    18  FROM kubeshop/testkube-cypress-executor:npm-base
    19  COPY cypress /bin/runner
    20  
    21  # run as a root in order to install to /root/cache and write to shared data volume
    22   
    23  RUN mkdir /home/runner
    24  
    25  WORKDIR /home/runner/
    26  
    27  ENV DEPENDENCY_MANAGER=npm
    28  
    29  ENTRYPOINT ["/bin/runner"]