mirror of
https://github.com/Neur0toxine/docker-node-alpine-git-gyp.git
synced 2024-11-27 23:06:02 +03:00
refactor!: remove EOL Node.js 12
This commit is contained in:
parent
e13dec9a7e
commit
723a5d3800
5
.github/workflows/buildx.yml
vendored
5
.github/workflows/buildx.yml
vendored
@ -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
|
||||
|
1
.github/workflows/dockerimage.yml
vendored
1
.github/workflows/dockerimage.yml
vendored
@ -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"
|
||||
|
2
.github/workflows/hadolint.yml
vendored
2
.github/workflows/hadolint.yml
vendored
@ -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
5
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"yaml.schemas": {
|
||||
"https://json.schemastore.org/github-workflow.json": "./.github/workflows/hadolint.yml"
|
||||
}
|
||||
}
|
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user