{"id":21158318,"url":"https://github.com/simbo/docker-node","last_synced_at":"2026-04-29T20:34:20.092Z","repository":{"id":141795751,"uuid":"97169198","full_name":"simbo/docker-node","owner":"simbo","description":"Docker images with node and yarn and some opinionated optimizations.","archived":false,"fork":false,"pushed_at":"2021-03-13T10:07:22.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T09:14:18.842Z","etag":null,"topics":["berlin","debian","docker","docker-images","docker-node","node-gyp","nodejs"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/simbo/node/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simbo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-13T22:18:56.000Z","updated_at":"2021-03-13T10:07:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"dcdf7ad3-79e5-489c-975a-3a29be43954a","html_url":"https://github.com/simbo/docker-node","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/simbo/docker-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fdocker-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fdocker-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fdocker-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fdocker-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simbo","download_url":"https://codeload.github.com/simbo/docker-node/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fdocker-node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32443563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["berlin","debian","docker","docker-images","docker-node","node-gyp","nodejs"],"created_at":"2024-11-20T12:20:25.901Z","updated_at":"2026-04-29T20:34:20.075Z","avatar_url":"https://github.com/simbo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"docker-node\n===========\n\n\u003e Docker images with node.js and some opinionated settings.\n\n[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/simbo/docker-node/CI)](https://github.com/simbo/docker-node/actions?query=workflow%3ACI)\n[![Docker Pulls](https://img.shields.io/docker/pulls/simbo/node.svg)](https://hub.docker.com/r/simbo/node)\n\n\nThese images are derivates of the [official node images](https://hub.docker.com/_/node/)\nwith the following changes:\n\n  - timezone set to \"Europe/Berlin\"\n  - simple prompt with current path and docker image name\n  - yarn self-update check disabled\n  - yarn cache as persistent volume (`/yarn-cache`)\n  - nano installed and set as default editor\n\nBeside the same variations like the original node image, there is also a `*-gyp`\nversion available, which includes all requirements to use [node-gyp](https://github.com/nodejs/node-gyp):\n\n  - `simbo/node:\u003cVERSION\u003e` (debian buster with common libs)\n  - `simbo/node:\u003cVERSION\u003e-slim` (minimum debian buster with curl)\n  - `simbo/node:\u003cVERSION\u003e-gyp` (slim with node-gyp requirements)\n  - `simbo/node:\u003cVERSION\u003e-alpine` (alpine)\n\n```sh\ndocker pull simbo/node:\u003cVERSION\u003e\ndocker pull simbo/node:\u003cVERSION\u003e-slim\ndocker pull simbo/node:\u003cVERSION\u003e-gyp\ndocker pull simbo/node:\u003cVERSION\u003e-alpine\n```\n\nIt is not recommended to use images with the tag `latest` as they refer to the\nlatest build and not necessarily to the latest version.\n\nSee the [tags list](https://hub.docker.com/r/simbo/node/tags/) for all available\nimage versions.\n\n### Using the Yarn Cache Volume\n\nWith the `docker` command:\n\n```sh\ndocker run --rm -it -v yarn-cache:/yarn-cache simbo/node bash\n```\n\nWith `docker-compose`:\n\n```yml\nversion: \"3.9\"\nvolumes:\n  yarn-cache:\nservices:\n  app:\n    image: simbo/node\n    volumes:\n      - yarn-cache:/yarn-cache\n```\n\n## Development\n\n### Local Builds for Testing\n\n```sh\n# build default image\ndocker build -f Dockerfile -t test-simbo/node .\n# build slim image\ndocker build -f Dockerfile-slim -t test-simbo/node-slim .\n# build gyp image\ndocker build -f Dockerfile-gyp -t test-simbo/node-gyp .\n# build alpine image\ndocker build -f Dockerfile-alpine -t test-simbo/node-alpine .\n\n# run default image with login shell\ndocker run --rm -it test-simbo/node bash\n# run slim image with login shell\ndocker run --rm -it test-simbo/node-slim bash\n# run gyp image with login shell\ndocker run --rm -it test-simbo/node-gyp bash\n# run alpine image with login shell\ndocker run --rm -it test-simbo/node-alpine sh -l\n\n# remove images afterwars\ndocker image rm test-simbo/node test-simbo/node-slim test-simbo/node-gyp test-simbo/node-alpine\n\n# optionally: clear everything docker from your system\ndocker system prune -a\n```\n\n### Releasing new Versions\n\nUse the release script `release-version` for automatically updating dockerfiles\nand triggering new image releases using GitHub Actions and Docker Hub.\n\nUsage: `./release-version \u003cSEMVER_VERSION\u003e`\n\nExample: `./release-version 10.23.0`\n\nExample output:\n\n```txt\n# ./release-version 10.23.0\n\n📦 Publish new Versions for simbo/docker-node\n\nThis script will update all dockerfiles in this repository to\n\n    node.js v10.23.0\n\nChanges will be committed, tagged with 10.23.0 and pushed to GitHub.\nThis push should trigger GitHub Actions, where images will be built and released to Docker Hub, where they will be tagged with 10, 10.23 and 10.23.0.\n\nPress [ENTER] to continue or anything else to cancel.\n\n[master c012125] node.js v10.23.0\n 4 files changed, 4 insertions(+), 4 deletions(-)\nObjekte aufzählen: 25, fertig.\nZähle Objekte: 100% (25/25), fertig.\nDelta-Kompression verwendet bis zu 4 Threads.\nKomprimiere Objekte: 100% (19/19), fertig.\nSchreibe Objekte: 100% (19/19), 2.23 KiB | 1.12 MiB/s, fertig.\nGesamt 19 (Delta 12), Wiederverwendet 0 (Delta 0), Pack wiederverwendet 0\nremote: Resolving deltas: 100% (12/12), completed with 6 local objects.\nTo github.com:simbo/docker-node.git\n   b498c44..c012125  master -\u003e master\n * [new tag]         10.23.0 -\u003e 10.23.0\n\n✅ All done.\n\nSee GitHub Actions for CI details: https://github.com/simbo/docker-node/actions\nSee Docker Hub for released images: https://hub.docker.com/r/simbo/node/tags\n```\n\n## License and Author\n\n[MIT \u0026copy; Simon Lepel](http://simbo.mit-license.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimbo%2Fdocker-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimbo%2Fdocker-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimbo%2Fdocker-node/lists"}