mirror of
https://github.com/Neur0toxine/docker-node-alpine-git-gyp.git
synced 2024-11-28 07:16:01 +03:00
feat: adds Node.js 16 flavor
This commit is contained in:
parent
96d0fa1164
commit
3d80a00446
4
.github/workflows/buildx.yml
vendored
4
.github/workflows/buildx.yml
vendored
@ -19,6 +19,10 @@ jobs:
|
|||||||
- path: 14
|
- path: 14
|
||||||
tags: "14 fermium latest"
|
tags: "14 fermium latest"
|
||||||
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
|
||||||
|
- path: 16
|
||||||
|
tags: "16 gallium"
|
||||||
|
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/arm/v7,linux/arm/v6
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2.3.4
|
uses: actions/checkout@v2.3.4
|
||||||
|
5
.github/workflows/dockerimage.yml
vendored
5
.github/workflows/dockerimage.yml
vendored
@ -9,5 +9,6 @@ jobs:
|
|||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
- name: Build the Docker image
|
- name: Build the Docker image
|
||||||
run: |
|
run: |
|
||||||
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 && npm --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 && 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:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
- run: brew install hadolint
|
- run: brew install hadolint
|
||||||
- run: hadolint {12,14}/Dockerfile
|
- run: hadolint {12,14,16}/Dockerfile
|
||||||
|
10
16/Dockerfile
Normal file
10
16/Dockerfile
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
FROM node:16-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)
|
[![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 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), Node.js 14 LTS (Fermium) or Node.js 16 (Gallium) alpine with Git and ssh installed.
|
||||||
|
|
||||||
## What's included
|
## What's included
|
||||||
|
|
||||||
- Node.js Node.js 12 LTS or Node.js 14 LTS
|
- Node.js Node.js 12 LTS, Node.js 14 LTS or Node.js 16
|
||||||
- npm 6
|
- npm 6 (< Node.js 16) or npm 7 (Node.js 16)
|
||||||
- yarn
|
- yarn
|
||||||
- Git
|
- Git
|
||||||
- ssh
|
- ssh
|
||||||
@ -23,7 +23,7 @@ These Dockerfiles leverage the new `buildx` functionality and offer the followin
|
|||||||
- linux/arm/v7
|
- linux/arm/v7
|
||||||
- linux/arm/v6
|
- linux/arm/v6
|
||||||
- linux/ppc64le
|
- linux/ppc64le
|
||||||
- linux/s390x
|
- linux/s390x (not for Node.js 16 [upstream bug])
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user