├── Dockerfile ├── LICENSE └── README.md /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:4.5 2 | 3 | # last commit=v1.12.0 4 | ENV VERSION=master 5 | 6 | WORKDIR /usr/src/ylt 7 | 8 | RUN npm install -g npm@latest \ 9 | && npm install -g node-gyp \ 10 | && npm install -g grunt-cli \ 11 | && git clone https://github.com/gmetais/YellowLabTools.git -b ${VERSION} . \ 12 | && npm install \ 13 | && grunt build 14 | 15 | EXPOSE 8383 16 | 17 | ENV NODE_ENV=production 18 | CMD ["node", "bin/server.js"] 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Julien Guyomard 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 all 13 | 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 THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Yellow Lab Tools Docker Image 2 | 3 | [Yellow Lab Tools](https://github.com/gmetais/YellowLabTools) is an open source project by [Gaël Métais](http://www.gaelmetais.com/). 4 | It lets you test a webpage (via an URL) and detects performance and front-end code quality issues. 5 | 6 | Yellow Lab Tools Docker is a node:0.12.10 (Jessie) Docker image that provides an isolated Yellow Lab Tools instance. 7 | 8 | 9 | ## Running 10 | 11 | Use: 12 | ``` 13 | docker run --rm -p 8383:8383 jguyomard/yellowlabtools 14 | ``` 15 | 16 | or run as a background daemon: 17 | 18 | ``` 19 | docker run -d -p 8383:8383 jguyomard/yellowlabtools 20 | ``` 21 | 22 | Then open [`http://localhost:8383/`](http://localhost:8383/) in your browser. 23 | 24 | 25 | ## Supported tags 26 | 27 | * [`latest`](https://github.com/jguyomard/docker-yellowlabtools/blob/master/Dockerfile) ; 28 | * [`1.12`, `1`](https://github.com/jguyomard/docker-yellowlabtools/blob/v1.12.0/Dockerfile) ; 29 | * [`1.11`](https://github.com/jguyomard/docker-yellowlabtools/blob/v1.11.0/Dockerfile) ; 30 | * [`1.10`](https://github.com/jguyomard/docker-yellowlabtools/blob/v1.10/Dockerfile) ; 31 | * [`1.9.0`, `1.9`](https://github.com/jguyomard/docker-yellowlabtools/blob/v1.9.0/Dockerfile) ; 32 | * [`1.8.0`, `1.8`](https://github.com/jguyomard/docker-yellowlabtools/blob/v1.8.0/Dockerfile). 33 | 34 | 35 | ## Issues 36 | 37 | If you have any problems with or questions about this docker image, please contact me through a [GitHub issue](https://github.com/jguyomard/docker-yellowlabtools/issues). 38 | If the issue is related to YellowLabTools itself, please leave an issue on the [YellowLabTools official repository](https://github.com/gmetais/YellowLabTools). 39 | 40 | 41 | ## Contributing 42 | 43 | You are invited to contribute new features, fixes or updates to this container, through a [Github Pull Request](https://github.com/jguyomard/docker-yellowlabtools/pulls). 44 | --------------------------------------------------------------------------------