diff --git a/.hadolint.yml b/.hadolint.yml new file mode 100644 index 0000000..0464523 --- /dev/null +++ b/.hadolint.yml @@ -0,0 +1,2 @@ +ignored: + - DL3018 diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..422515d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: generic + +services: + - docker + +before_install: + - docker pull hadolint/hadolint + +script: + - docker run --rm -i hadolint/hadolint hadolint --ignore DL3018 - < Dockerfile diff --git a/README.md b/README.md index 97cf906..37a54bd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ -# Node.js with Git Dockerfile [![Docker Automated build](https://img.shields.io/docker/automated/timbru31/node-alpine-git.svg)](https://hub.docker.com/r/timbru31/node-alpine-git/) [![Docker Build Status](https://img.shields.io/docker/build/timbru31/node-alpine-git.svg)](https://hub.docker.com/r/timbru31/node-alpine-git/) +# Node.js with Git Dockerfile + +[![Docker Automated build](https://img.shields.io/docker/automated/timbru31/node-alpine-git.svg)](https://hub.docker.com/r/timbru31/node-alpine-git/) +[![Docker Build Status](https://img.shields.io/docker/build/timbru31/node-alpine-git.svg)](https://hub.docker.com/r/timbru31/node-alpine-git/) +[![Build Status](https://travis-ci.org/timbru31/docker-node-alpine-git.svg?branch=master)](https://travis-ci.org/timbru31/docker-node-alpine-git) A minimal Dockerfile based on Node.js 8 LTS (Carbon) alpine with Git and ssh installed.