{"id":17441208,"url":"https://github.com/tmigone/minimal-node-docker","last_synced_at":"2026-01-07T23:49:30.049Z","repository":{"id":74100919,"uuid":"439068056","full_name":"tmigone/minimal-node-docker","owner":"tmigone","description":"Test various minimal docker images that include nodejs runtime","archived":false,"fork":false,"pushed_at":"2022-03-23T14:05:54.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-19T19:59:32.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmigone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-12-16T17:08:00.000Z","updated_at":"2021-12-16T20:54:27.000Z","dependencies_parsed_at":"2023-04-09T18:47:02.705Z","dependency_job_id":null,"html_url":"https://github.com/tmigone/minimal-node-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmigone%2Fminimal-node-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmigone%2Fminimal-node-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmigone%2Fminimal-node-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmigone%2Fminimal-node-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmigone","download_url":"https://codeload.github.com/tmigone/minimal-node-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246475829,"owners_count":20783731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-17T15:10:57.589Z","updated_at":"2026-01-07T23:49:29.984Z","avatar_url":"https://github.com/tmigone.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minimal docker images with nodejs runtime\n\nThis repo is to test what a minimal docker image with nodejs runtime looks like.\n\n\n## Results\n\n```\n[Info]               ┌───────────────────┬────────────┬───────────────────────┐\n[Info]               │ Service           │ Image Size │ Build Time            │\n[Info]               ├───────────────────┼────────────┼───────────────────────┤\n[Info]               │ entware           │ 12.45 MB   │ 1 minute, 8 seconds   │\n[Info]               ├───────────────────┼────────────┼───────────────────────┤\n[Info]               │ entware-node      │ 39.84 MB   │ 2 minutes, 27 seconds │\n[Info]               ├───────────────────┼────────────┼───────────────────────┤\n[Info]               │ busybox           │ 153.27 MB  │ 5 minutes, 31 seconds │\n[Info]               ├───────────────────┼────────────┼───────────────────────┤\n[Info]               │ alpine            │ 482.68 MB  │ 2 minutes, 20 seconds │\n[Info]               ├───────────────────┼────────────┼───────────────────────┤\n[Info]               │ alpine-node-build │ 587.37 MB  │ 3 minutes, 5 seconds  │\n[Info]               ├───────────────────┼────────────┼───────────────────────┤\n[Info]               │ alpine-node-run   │ 146.75 MB  │ 2 minutes, 48 seconds │\n[Info]               ├───────────────────┼────────────┼───────────────────────┤\n[Info]               │ node              │ 111.36 MB  │ 1 minute, 2 seconds   │\n[Info]               ├───────────────────┼────────────┼───────────────────────┤\n[Info]               │ caxa              │ 512.83 MB  │ 6 minutes, 9 seconds  │\n[Info]               ├───────────────────┼────────────┼───────────────────────┤\n[Info]               │ pkg               │ 774.04 MB  │ 7 minutes, 48 seconds │\n[Info]               ├───────────────────┼────────────┼───────────────────────┤\n[Info]               │ dockerize         │ 76.37 MB   │ 1 minute, 10 seconds  │\n[Info]               └───────────────────┴────────────┴───────────────────────┘\n```\n\nSome observations:\n- When using `balenalib` base images `BALENA_ARCH` images result in smaller images when compared to `BALENA_MACHINE_NAME` images\n- Best current result is:\n  - For `aarch64` use `entware + opkg` --\u003e ~40MB image size\n  - For generic arch use:\n    - `node` --\u003e ~110MB image size\n    - `dockerize`--\u003e ~76MB image size\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmigone%2Fminimal-node-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmigone%2Fminimal-node-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmigone%2Fminimal-node-docker/lists"}