specter-desktop/docker/cypress-python/Dockerfile
Kim Neunert 8fef82d8f4
Chore: upgrade cypress to 9.5.4 part2 (#1676)
* upgrade cypress to 9.5.4

* fix cache

* fix relative path

* update docker-image reference, reverse cache change
2022-04-26 10:27:46 +02:00

14 lines
640 B
Docker

FROM registry.gitlab.com/cryptoadvance/specter-desktop/cypress-base-ubuntu-focal:latest
RUN apt-get update && apt-get install -y \
python3-pip python3-virtualenv zip unzip file apt libusb-1.0-0-dev libudev-dev \
bc libevent-2.1-7 jq wget curl
# Stuff needed for Elements (compilation)
RUN DEBIAN_FRONTEND="noninteractive" apt-get install --no-install-recommends -y bsdmainutils libboost-test-dev libboost-filesystem-dev libboost-thread-dev libsqlite3-dev git libevent-pthreads-2.1-7
WORKDIR /test
RUN rm -rf node_modules package-lock.json ~/.cache/Cypress
RUN npm install --save-dev cypress@9.5.4
RUN $(npm bin)/cypress verify