mirror of
https://github.com/Neur0toxine/docker-node-alpine-git-gyp.git
synced 2024-11-28 07:16:01 +03:00
refactor!: drop support for Node.js v10 (EOL)
This commit is contained in:
parent
458f706d35
commit
3574fbbe9d
3
.github/workflows/buildx.yml
vendored
3
.github/workflows/buildx.yml
vendored
@ -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
|
||||||
|
1
.github/workflows/dockerimage.yml
vendored
1
.github/workflows/dockerimage.yml
vendored
@ -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"
|
||||||
|
2
.github/workflows/hadolint.yml
vendored
2
.github/workflows/hadolint.yml
vendored
@ -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
|
||||||
|
@ -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
|
|
@ -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)
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user