2018-10-23 19:32:30 +02:00
|
|
|
# Node.js with Git Dockerfile
|
|
|
|
|
2022-07-27 09:17:26 +03:00
|
|
|
[](https://hub.docker.com/r/neur0toxine/node-alpine-git-gyp/)
|
|
|
|
[](https://github.com/Neur0toxine/docker-node-alpine-git-gyp/actions?query=workflow%3Abuildx)
|
2022-07-26 15:53:46 +03:00
|
|
|
[](https://github.com/Neur0toxine/docker-node-alpine-git-gyp/actions?query=workflow%3A%22Lint+Dockerfiles%22)
|
2020-06-13 12:57:38 +00:00
|
|
|
|
2022-11-16 17:18:46 +03:00
|
|
|
A minimal Dockerfile based on Node.js 14 LTS (Fermium), Node.js 16 LTS (Gallium) or Node.js 18 LTS (Hydrogen) alpine with Git and ssh installed.
|
2017-06-29 18:35:47 +02:00
|
|
|
|
|
|
|
## What's included
|
|
|
|
|
2022-11-16 17:18:46 +03:00
|
|
|
- Node.js 14 LTS (Fermium), 16 LTS (Gallium) or 18 LTS (Hydrogen)
|
|
|
|
- npm 6 (Node.js 14) or npm 8 (Node.js 16 & 18)
|
2019-10-24 10:48:04 +02:00
|
|
|
- yarn
|
2022-07-27 09:15:55 +03:00
|
|
|
- Bash
|
2019-10-24 10:48:04 +02:00
|
|
|
- Git
|
2022-07-27 09:15:55 +03:00
|
|
|
- OpenSSH
|
|
|
|
- Python 3.x (for node-gyp)
|
|
|
|
- g++ (for node-gyp)
|
|
|
|
- make
|
2022-11-16 17:18:46 +03:00
|
|
|
- pkgconfig
|
2017-06-29 18:35:47 +02:00
|
|
|
|
2020-06-07 12:33:42 +00:00
|
|
|
### Available platforms
|
2020-06-07 00:53:23 +02:00
|
|
|
|
|
|
|
These Dockerfiles leverage the new `buildx` functionality and offer the following platforms:
|
2020-10-28 17:32:58 +01:00
|
|
|
|
2020-06-07 00:53:23 +02:00
|
|
|
- linux/amd64
|
|
|
|
- linux/arm64
|
|
|
|
- linux/arm/v7
|
|
|
|
- linux/arm/v6
|
|
|
|
- linux/ppc64le
|
2021-08-20 23:52:26 +02:00
|
|
|
- linux/s390x
|
2020-06-07 00:53:23 +02:00
|
|
|
|
2017-06-29 18:35:47 +02:00
|
|
|
---
|
2019-10-24 10:48:04 +02:00
|
|
|
|
2022-07-18 16:39:40 +03:00
|
|
|
Originally built by (c) Tim Brust and contributors. Released under the MIT license.
|
|
|
|
I've only added python and some build-utils on top of existing images.
|