mirror of
https://github.com/Neur0toxine/docker-node-alpine-git-gyp.git
synced 2025-02-26 09:03:16 +03:00
36 lines
1.3 KiB
Markdown
36 lines
1.3 KiB
Markdown
# Node.js with Git Dockerfile
|
|
|
|
[](https://hub.docker.com/r/neur0toxine/node-alpine-git-gyp/)
|
|
[](https://github.com/Neur0toxine/docker-node-alpine-git-gyp/actions?query=workflow%3Abuildx)
|
|
[](https://github.com/Neur0toxine/docker-node-alpine-git-gyp/actions?query=workflow%3A%22Lint+Dockerfiles%22)
|
|
|
|
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 14 LTS (Fermium) or 16 LTS (Gallium)
|
|
- npm 6 (Node.js 14) or npm 8 (Node.js 16)
|
|
- yarn
|
|
- Bash
|
|
- Git
|
|
- OpenSSH
|
|
- Python 3.x (for node-gyp)
|
|
- g++ (for node-gyp)
|
|
- make
|
|
|
|
### Available platforms
|
|
|
|
These Dockerfiles leverage the new `buildx` functionality and offer the following platforms:
|
|
|
|
- linux/amd64
|
|
- linux/arm64
|
|
- linux/arm/v7
|
|
- linux/arm/v6
|
|
- linux/ppc64le
|
|
- linux/s390x
|
|
|
|
---
|
|
|
|
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.
|