Created
September 20, 2019 02:31
-
-
Save rsp9u/58d12f661ea6408dc3f4e6d83014ed0a to your computer and use it in GitHub Desktop.
docker-cypress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM cypress/base:10 | |
| RUN apt-get update && \ | |
| apt-get install -y locales fonts-takao-gothic fonts-takao-mincho && \ | |
| apt-get clean && \ | |
| rm -rf /var/lib/apt/lists/* | |
| RUN echo "ja_JP UTF-8" > /etc/locale.gen && \ | |
| locale-gen && \ | |
| update-locale LANG=ja_JP.UTF-8 && \ | |
| update-locale LANGUAGE="ja_JP:ja" && \ | |
| dpkg-reconfigure --frontend nointeractive locales && \ | |
| fc-cache -fv | |
| RUN mkdir cytmp && \ | |
| cd cytmp && \ | |
| npm install cypress && \ | |
| cd ../ && \ | |
| rm -rf cytmp | |
| # on ci container: "CYPRESS_INSTALL_BINARY=0 npm install" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment