diff --git a/.travis.yml b/.travis.yml index 422515d..7239fd5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,8 @@ services: - docker before_install: - - docker pull hadolint/hadolint + - docker pull hadolint/hadolint script: - - docker run --rm -i hadolint/hadolint hadolint --ignore DL3018 - < Dockerfile + - docker run --rm -i hadolint/hadolint hadolint --ignore DL3018 - < 10/Dockerfile + - docker run --rm -i hadolint/hadolint hadolint --ignore DL3018 - < 12/Dockerfile diff --git a/Dockerfile b/10/Dockerfile similarity index 100% rename from Dockerfile rename to 10/Dockerfile diff --git a/12/Dockerfile b/12/Dockerfile new file mode 100644 index 0000000..482fb20 --- /dev/null +++ b/12/Dockerfile @@ -0,0 +1,9 @@ +FROM node:erbium-alpine@sha256:e32343df0b80880915ca3570752cb41ac044253a5deec978f851b3834670fffa +LABEL maintainer "Tim Brust " + +ARG REFRESHED_AT +ENV REFRESHED_AT $REFRESHED_AT + +RUN apk add --no-cache \ + git \ + openssh diff --git a/README.md b/README.md index 2e51a3d..719fe17 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,16 @@ [![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 10 LTS (Dubnium) alpine with Git and ssh installed. +A minimal Dockerfile based on Node.js 10 LTS (Dubnium) or Node.js 12 LTS (Erbium) alpine with Git and ssh installed. ## What's included -* Node.js 10 -* npm 6 -* yarn -* Git -* ssh +- Node.js 10 LTS or Node.js 12 LTS +- npm 6 +- yarn +- Git +- ssh --- + Built by (c) Tim Brust and contributors. Released under the MIT license.