├── .circleci └── config.yml ├── .gitignore ├── Dockerfile ├── LICENSE └── README.md /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | jobs: 3 | test: 4 | machine: true 5 | working_directory: ~/project 6 | steps: 7 | - checkout 8 | - run: 9 | name: Build docker image 10 | command: | 11 | docker build -t vuejs/ci . 12 | - run: 13 | name: docker info 14 | command: | 15 | docker run --rm --name envinfo vuejs/ci bash -c "npm i -g envinfo && envinfo" 16 | 17 | workflows: 18 | version: 2 19 | perfs: 20 | jobs: 21 | - test 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .DS_Store 3 | *.iml 4 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:current 2 | 3 | RUN apt-get update -y 4 | 5 | # Puppeteer/Chrome headless deps 6 | RUN apt-get install -yq \ 7 | gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 \ 8 | libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 \ 9 | libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 \ 10 | libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 \ 11 | libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 \ 12 | libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 \ 13 | lsb-release xdg-utils wget 14 | 15 | # Cypress deps 16 | RUN apt-get install -y \ 17 | libnotify-dev \ 18 | xvfb 19 | 20 | # Java for Selenium 21 | RUN apt-get install -yq openjdk-8-jre-headless \ 22 | && sed -i 's/securerandom\.source=file:\/dev\/random/securerandom\.source=file:\/dev\/urandom/' ./usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/java.security 23 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018-present, Yuxi (Evan) You 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # vue-ci-image [![Docker Build Status](https://img.shields.io/docker/build/vuejs/ci.svg)](https://hub.docker.com/r/vuejs/ci/) 2 | 3 | Docker CI image for Vue projects. 4 | --------------------------------------------------------------------------------