refactor!: drop support for Node.js v10 (EOL)

This commit is contained in:
Tim Brust 2021-05-11 14:35:02 +02:00
parent 458f706d35
commit 3574fbbe9d
No known key found for this signature in database
GPG Key ID: 94EA4986FA50F11B
5 changed files with 3 additions and 18 deletions

View File

@ -13,9 +13,6 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
docker-file: docker-file:
- path: 10
tags: "10 dubnium"
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x,linux/386,linux/arm/v7,linux/arm/v6
- path: 12 - path: 12
tags: "12 erbium" tags: "12 erbium"
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x,linux/arm/v7,linux/arm/v6 platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x,linux/arm/v7,linux/arm/v6

View File

@ -9,6 +9,5 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Build the Docker image - name: Build the Docker image
run: | run: |
docker run -i $(docker build -q 10) /bin/sh -c "node --version && git --version"
docker run -i $(docker build -q 12) /bin/sh -c "node --version && git --version" docker run -i $(docker build -q 12) /bin/sh -c "node --version && git --version"
docker run -i $(docker build -q 14) /bin/sh -c "node --version && git --version" docker run -i $(docker build -q 14) /bin/sh -c "node --version && git --version"

View File

@ -8,4 +8,4 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: brew install hadolint - run: brew install hadolint
- run: hadolint {10,12,14}/Dockerfile - run: hadolint {12,14}/Dockerfile

View File

@ -1,10 +0,0 @@
FROM node:dubnium-alpine
LABEL maintainer "Tim Brust <github@timbrust.de>"
ARG REFRESHED_AT
ENV REFRESHED_AT $REFRESHED_AT
RUN apk -U upgrade \
&& apk add --no-cache \
git \
openssh

View File

@ -4,11 +4,11 @@
[![buildx Status](https://github.com/timbru31/docker-node-alpine-git/workflows/buildx/badge.svg)](https://github.com/timbru31/docker-node-alpine-git/actions?query=workflow%3Abuildx) [![buildx Status](https://github.com/timbru31/docker-node-alpine-git/workflows/buildx/badge.svg)](https://github.com/timbru31/docker-node-alpine-git/actions?query=workflow%3Abuildx)
[![Lint Dockerfiles](https://github.com/timbru31/docker-node-alpine-git/workflows/Lint%20Dockerfiles/badge.svg)](https://github.com/timbru31/docker-node-alpine-git/actions?query=workflow%3A%22Lint+Dockerfiles%22) [![Lint Dockerfiles](https://github.com/timbru31/docker-node-alpine-git/workflows/Lint%20Dockerfiles/badge.svg)](https://github.com/timbru31/docker-node-alpine-git/actions?query=workflow%3A%22Lint+Dockerfiles%22)
A minimal Dockerfile based on Node.js 10 LTS (Dubnium), Node.js 12 LTS (Erbium) or Node.js 14 LTS (Fermium) alpine with Git and ssh installed. A minimal Dockerfile based on Node.js 12 LTS (Erbium) or Node.js 14 LTS (Fermium) alpine with Git and ssh installed.
## What's included ## What's included
- Node.js 10 LTS, Node.js 12 LTS or Node.js 14 LTS - Node.js Node.js 12 LTS or Node.js 14 LTS
- npm 6 - npm 6
- yarn - yarn
- Git - Git
@ -24,7 +24,6 @@ These Dockerfiles leverage the new `buildx` functionality and offer the followin
- linux/arm/v6 - linux/arm/v6
- linux/ppc64le - linux/ppc64le
- linux/s390x - linux/s390x
- linux/386 (not for Node.js >= 12)
--- ---