refactor!: remove EOL Node.js 12

This commit is contained in:
Tim Brust 2022-05-17 11:00:24 +02:00
parent e13dec9a7e
commit 723a5d3800
No known key found for this signature in database
GPG Key ID: 94EA4986FA50F11B
6 changed files with 10 additions and 19 deletions

View File

@ -8,14 +8,11 @@ on:
jobs:
buildx:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
docker-file:
- path: 12
tags: "12 erbium"
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x,linux/arm/v7,linux/arm/v6
- path: 14
tags: "14 fermium"
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@v3
- name: Build the Docker image
run: |
docker run -i $(docker build -q 12) /bin/sh -c "node --version && npm --version && git --version"
docker run -i $(docker build -q 14) /bin/sh -c "node --version && npm --version && git --version"
docker run -i $(docker build -q 16) /bin/sh -c "node --version && npm --version && git --version"

View File

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

5
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"yaml.schemas": {
"https://json.schemastore.org/github-workflow.json": "./.github/workflows/hadolint.yml"
}
}

View File

@ -1,10 +0,0 @@
FROM node:erbium-alpine3.14
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,12 +4,12 @@
[![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)
A minimal Dockerfile based on Node.js 12 LTS (Erbium), Node.js 14 LTS (Fermium) or Node.js 16 LTS (Gallium) alpine with Git and ssh installed.
A minimal Dockerfile based on Node.js 14 LTS (Fermium) or Node.js 16 LTS (Gallium) alpine with Git and ssh installed.
## What's included
- Node.js Node.js 12 LTS, Node.js 14 LTS or Node.js 16 LTS
- npm 6 (< Node.js 16) or npm 8 (Node.js 16)
- Node.js 14 LTS (Fermium) or 16 LTS (Gallium)
- npm 6 (Node.js 14) or npm 8 (Node.js 16)
- yarn
- Git
- ssh